www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chichery Florent ...@epi.net>
Subject general/5246: IF a CGI try to send HTTP 204 code, error.
Date Wed, 03 Nov 1999 23:38:27 GMT

>Number:         5246
>Category:       general
>Synopsis:       IF a CGI try to send HTTP 204 code, error.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Nov  3 15:40:00 PST 1999
>Last-Modified:
>Originator:     cf@epi.net
>Organization:
apache
>Release:        Apache/1.3.9
>Environment:
OS: OSF1 V4.0 1229 alpha
Compliler: gcc version 2.8.1
>Description:
If a CGI try to sent a 204 HTTP response like using this script:
---
#!/bin/sh
echo "HTTP/1.0 204 No change"
echo ""
# end of script
--

The response is:
--
Internal Server Error
[...]
--

Error log says:
---
httpd: [Thu Nov  4 00:35:54 1999] [error] [client 10.42.1.54] malformed header from script.
Bad header=HTTP/1.0 204 No change: /nfs/aux/space/users/proj/fg/www/CGI/test.cgi
---

This CGI result:
---
HTTP/1.o 204 No change

---
 shouldn't be a valid answer ?
>How-To-Repeat:
http://www.francegastronome.com/CGI/test.cgi
>Fix:
non !
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]




Mime
View raw message