On Apr 8, 2006, at 5:23 PM, Neil wrote:

> I've found a temporary workaround... it seems to be related to the
> wsgi.input not being available (see here for a hint
> http://pythonpaste.org/archives/message/ 
> 20060316.210119.474772b3.en.html).
> To get things working, I've modified wsgiapp.py at line 27, like so:
>
>             try:
>                 if environ.get('REQUEST_METHOD') == 'OPTIONS':
>                     from StringIO import StringIO
>                     environ['wsgi.input'] = StringIO('')
>
>                 return self.app.handle(environ, start_response)

Ok, I see, its because Myghty is parsing it and consuming wsgi.input.  
Pylons 0.9 should remedy this also as it doesn't consume wsgi.input  
until you try to use a POST var.

HTH,
Ben

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to