[Web-SIG] WSGI - alternative ideas

Mark Nottingham mnot at mnot.net
Sun Aug 15 01:01:21 CEST 2004


On Aug 14, 2004, at 3:11 PM, Phillip J. Eby wrote:
> It seems to me that another approach is possible, though...  couldn't 
> the web server just send a 100 Continue response if there's an 
> "expect: 100-continue"  header in the request, and you attempt to read 
> from the input stream before you've called the 'start_response' 
> callable?  At first glance, this sounds like a reasonable way to 
> handle it, that wouldn't require any explicit handling by the 
> application code.  Then, WSGI could also require that such an "expect" 
> header must NOT appear in the request passed to an application.

That sounds very reasonable...

--
Mark Nottingham     http://www.mnot.net/



More information about the Web-SIG mailing list