On Thursday 06 December 2001 12:28 pm, Tavis Rudd wrote:
> To rephrase my question, where is the fake 'Status' header set by
> HTTPResponse translated into a real HTTP response code header?
>
> > Since a raw response contains the headers in a clearly delimited
> > fashion, there should be no hang ups at all writing the builtin
> > http server. In fact, if I remember right, they are already in
> > standard http form and ready to be copied over.
>
> That's what I assumed they were, but then the 'Status' header
> confused me when I couldn't find who was turning {'Status': '200 OK'}
> into "HTTP/1.0 200 OK".

I don't know either. I know from a CGI perspective, you just set the 
Status header and the web server is supposed to do the right thing. I 
assume that also happens with mod_webkit.

I don't recall if CGI requires that Status be the first header when it is 
present.

So then in writing your own http server, you'd simply need to check for it.


-Chuck

_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to