I think I figured this one out, I can pass the bytes into params= and
it'll work. Strange naming though.



On 24. Jun 2021 at 20:56:50, Zsolt Ero <zsolt....@gmail.com> wrote:

> Hi,
>
> How can I upload a file in the body in webtest.post? requests allows me
> to do this in data=, curl in --data-binary.
>
> Webob reads this in body_file_seekable. How can I do this in webtest.post?
>
> Regards,
> Zsolt
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/CAKw-smBAwXr4oaE5R3%2B6us2TAD1UYrq2gt71OAc%3DjN-5YUhQQA%40mail.gmail.com.

Reply via email to