librelist archives

« back to archive

Encoding of form parameters

Encoding of form parameters

From:
Daniel Serodio (lists)
Date:
2011-10-11 @ 16:40
I couldn't answer this it in the documentation, should I URL encode the 
form parameters, or will requests encode them for me?

Regards,
Daniel Serodio

Re: [requests] Encoding of form parameters

From:
Kenneth Reitz
Date:
2011-10-11 @ 16:44
 The docs need some love :) 

You're free to encode them yourself, but requests will do it for you. Just
pass everything in as a dictionary. :) 

-- 
Kenneth Reitz


On Tuesday, October 11, 2011 at 12:40 PM, Daniel Serodio (lists) wrote:

> I couldn't answer this it in the documentation, should I URL encode the 
> form parameters, or will requests encode them for me?
> 
> Regards,
> Daniel Serodio