Re[2]: httplib question

L

Laszlo Zsolt Nagy

Hello Stuart,

The "request" method call expects a "body" parameter that defaults to None
as the 3rd method parameter. You will either need to pass in an empty
string as the body parameter, or assign the headers property by named
assignment. Python interprets your call as passing the dictionary into the
body parameter.
I'm a real Lama. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,212
Messages
2,571,101
Members
47,695
Latest member
KayleneBee

Latest Threads

Top