using urllib or httplib to post with ENCTYPE=mulitpart/form-data

John J. Lee jjl at pobox.com
Tue Jun 10 08:30:42 EDT 2003


jjl at pobox.com (John J. Lee) writes:
[...]
>     # path_specified flags accordingly, and use the request values:
> 
-     req_domain, req_path = urlparse.urlparse(request,get_full_url())
+     req_domain, req_path = urlparse.urlparse(request,get_full_url())[1:3]
>     if not domain_specified:
[...]


John




More information about the Python-list mailing list