On May 18, 4:57 pm, "Dave Borne" <[EMAIL PROTECTED]> wrote: > > I need to build a special http post body that consists of : > > name=value +\r\n strings. > > Problem is that depending on operations the number of name,value > > pairs can increase and decrease. > > Values need to be initialized at runtime, so storing premade text > > files is not possible. > > I'm not completely understanding your problems here. Can you explain > why urllib.urlencode wouldn't work? > (http://docs.python.org/lib/module-urllib.html) > > Thanks, > -Dave
Hmm, I guess I meant something different by using "body"- I meant request data part and not the thing sent in ulr string. -- http://mail.python.org/mailman/listinfo/python-list