[Python-bugs-list] [ python-Bugs-458447 ] overriding content-type in urllib

noreply@sourceforge.net noreply@sourceforge.net
Tue, 04 Sep 2001 12:16:52 -0700


Bugs item #458447, was opened at 2001-09-04 10:01
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=458447&group_id=5470

Category: Python Library
Group: None
>Status: Deleted
Resolution: None
Priority: 5
Submitted By: Rich Salz (rsalz)
Assigned to: Nobody/Anonymous (nobody)
Summary: overriding content-type in urllib

Initial Comment:
urllib should allow the user to set the content-type. 
This would allow applications to do more than just
"forms posting" -- e.g., use it to make SOAP requests.
The attached patch allows that.



----------------------------------------------------------------------

>Comment By: Rich Salz (rsalz)
Date: 2001-09-04 12:16

Message:
Logged In: YES 
user_id=36737

Okay,  I'll accept that.  Had HTTP documented that it
included HTTPS I wouldn't have made the initial mistake. :)
Let me know if you want the diff.

----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-09-04 11:20

Message:
Logged In: YES 
user_id=6380

There's no uploaded file!  You have to check the checkbox labeled
"Check to Upload & Attach File" when you upload a file.

Please try again.

(This is a SourceForge annoyance that we can do nothing about.
:-( )

----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-09-04 11:20

Message:
Logged In: YES 
user_id=6380

Isn't SOAP an HTTP application? Then you shouldn't be using
urllib, but httplib.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=458447&group_id=5470