On Tuesday, August 26, 2014 8:45:03 AM UTC+2, ryan liang wrote:
>
> """
> payload = ... your payload ...
> stream = StringIO(payload)
> client.post(url,
>     CONTENT_TYPE='text/json',
>     CONTENT_LENGTH=len(payload),
>     wsgi.input = stream)
> """
> It does not work.
>

Obviously not, wsgi.input is not a valid kwarg after all, pass it in via 
data… 

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/eeb906d8-14e8-4cc2-aee9-2b248765727d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to