Re: [Tools-discuss] Re: Apache upgrade.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tools-discuss] Re: Apache upgrade.



Hi Frank,

on 2006-11-17 23:04 Frank Ellermann said the following:
...
> Maybe it's an HTTP/1.1 303 vs. HTTP/1.0 302 issue.  Random test,
> http://tools.ietf.org/html/rfc1357 (whatever, not 1234 :-), I got:
> 
> ~~~ cut ~~~
> HTTP/1.1 302 Found
> Date: Fri, 17 Nov 2006 21:53:32 GMT
> Server: Apache/2.2.3 (Debian) DAV/2 SVN/1.4.0 PHP/4.4.4-6 mod_perl/2.0.2 Perl/v5.8.8
> Location: http://tools.ietf.org/html/rfc1357
> Content-Length: 0
> Connection: close
> Content-Type: text/plain; charset=US-ASCII
> 
> ~~~ end ~~~
> 
> Well, that document obviously is empty, and it redirects me to the
> location I've asked for, is that sane ?

Humm, not really nice.  Fixed now; by testing if the URL and the redirect
location is the same, and if so the document is served directly with a
200 OK.

>  Testing it for a third time
> (about a minute later) I get RFC 1357.
> 
> RFC 2616 says that a 302 SHOULD contain a short document with a link
> to the new location, the content-length 0 violates that.

Ok, should be fixed now.  Please check that the minimal document you
get back looks OK.

>  It also
> says that clients SHOULD detect infinite loops, a redirection to the
> URL I've asked for might not work as expected.

Right.  This should be fine now, with the test mentioned above.


	Henrik

_______________________________________________
Tools-discuss mailing list
Tools-discuss at ietf.org
https://www1.ietf.org/mailman/listinfo/tools-discuss




Note: Messages sent to this list are the opinions of the senders and do not imply endorsement by the IETF.