DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39514>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39514





------- Additional Comments From [EMAIL PROTECTED]  2006-05-09 17:25 -------
how to repeat.

* this is source code of simple CGI script.
$ cat t/range.cgi
#!/bin/sh
echo "Content-Type: text/plain"
echo
echo 0123456789

* firstly, do normal HTTP access.
$ curl -i http://example.com/t/range.cgi
HTTP/1.1 200 OK
Date: Tue, 09 May 2006 17:08:16 GMT
Server: Apache/2.0.54 (Unix) PHP/4.3.11
Transfer-Encoding: chunked
Content-Type: text/plain; charset=euc-jp

0123456789

* secondary, access with "Range" request header to Apache-2.0.54.
* OK, size of response body is 5 byte.
$ curl -i -H 'Range: bytes=1-5' http://example.com/t/range.cgi
HTTP/1.1 206 Partial Content
Date: Tue, 09 May 2006 17:08:43 GMT
Server: Apache/2.0.54 (Unix) PHP/4.3.11
Content-Range: bytes 1-5/11
Content-Length: 5
Content-Type: text/plain; charset=euc-jp

12345$

* do same HTTP access to Apache-2.0.58.
* size of response body is not 5 byte but 10byte(whole).
$ curl -i -H 'Range: bytes=1-5' http://example.com/t/range.cgi
HTTP/1.1 200 OK
Date: Tue, 09 May 2006 17:09:36 GMT
Server: Apache/2.0.58 (Unix) PHP/4.4.2 with Hardening-Patch
Transfer-Encoding: chunked
Content-Type: text/plain; charset=euc-jp

0123456789
$

Is this changing behavior between 2.0.54 and 2.0.5[58]  known incompatibility?

I hope back to following behavior like 2.0.54.
  * Apache       add "Content-Range" and strip data unless CGI response data
contains "Content-Range" header.
  * Apache don't add "Content-Range" and strip data if     CGI response data
contains "Content-Range" header.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to