Re: Redirection not working with nethttpd

Paolo Donadeo <[email protected]> Tue, 11 Aug 2009 23:43:37 +0200
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <[email protected]>
> Also, if such a redirect was sent to the web
> browser, this would be a violation of the HTTP protocol (although many
> browsers seem to handle this case).

Thanks, I didn't even know! I just read section 14.30 of the RFC 2616
[1]: the URL must be absolute.


> Well, you are using the interface that is compatible with CGI, so you
> get also certain CGI quirks.

Of course :)


> I have no full answer yet - I need to dig further into the problem. It
> could easily be that you discovered a bug. I'll try to check that soon.

Let us know if you find something.


[1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30


-- 
Paolo
~
~
:wq

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july