Re: [PATCH v4 0/3] Isolate If-Modified-Since handling in gitweb

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

 



On Tue, Mar 27, 2012 at 08:24:22PM +0100, Jakub Narebski wrote:
> No, the status line was omitted unintentionally, thanks for fixing this.
> I guess that web server (at least Apache) adds it if it is missing.

From the CGI 1.1 specs [1], section 9.2:

  If the script does not return a Status header, then "200 OK" should
  be assumed.

So, perhaps it is better to skip the Status header on success (less
for the server to parse).

[1]: http://tools.ietf.org/html/draft-robinson-www-interface-00

-- 
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]