chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-janitors] #1074: intarweb request parsing and Spiffy handli


From: Chicken Trac
Subject: Re: [Chicken-janitors] #1074: intarweb request parsing and Spiffy handling of said requests is inconsistent in case of improper request line URIs
Date: Sun, 24 Nov 2013 11:55:20 -0000

#1074: intarweb request parsing and  Spiffy handling of said requests is
inconsistent in case of improper request line URIs
----------------------+-----------------------------------------------------
  Reporter:  RvdH     |       Owner:  sjamaan               
      Type:  defect   |      Status:  new                   
  Priority:  major    |   Milestone:  someday               
 Component:  unknown  |     Version:  4.8.x                 
Resolution:           |    Keywords:  bad-request connection
----------------------+-----------------------------------------------------

Comment(by RvdH):

 > This is very much along the lines of my own thinking when I first read
 this ticket. However, we should strictly return a 4xx series error rather
 than a 5xx series error because the 4xx class is reserved for errors
 caused by the client and the 5xx class for errors caused by the server.

 What I meant was, if the server experiences ''any'' error , the server
 should return a 500. It is the most basic status code a server could send.
 Think about it: on ''any'' request an HTTP server receives, it is allowed
 to return a 500.

 Of course this doesn't mean that we should return a 500 in this case. We
 know it's an error on the client side, so returning a 400 is better.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/1074#comment:10>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]