2009/1/20 gert <[email protected]>:
>
> endpart of my file get cut out in python3.0 ?
>
> def application(environ, response):
>    s = str(environ['wsgi.input'].read(int(environ.get
> ('CONTENT_LENGTH','0'))))
>    print (s,file=sys.stderr)

Not enough information.

How big a file?

What encoding was the request content, did it only include ascii
characters or characters from some other extended character set?

Did the request content contain embedded nulls, ie., '\0'?

Does it reliably happen not matter what request content, or only for
specific request content?

Graham

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" 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/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to