[Python-bugs-list] [ python-Feature Requests-498855 ] add POST support to webbrowser module

noreply@sourceforge.net noreply@sourceforge.net
Thu, 03 Jan 2002 10:58:27 -0800


Feature Requests item #498855, was opened at 2002-01-02 22:58
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=355470&aid=498855&group_id=5470

Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Kevin Altis (kasplat)
Assigned to: Nobody/Anonymous (nobody)
Summary: add POST support to webbrowser module

Initial Comment:
This is certainly possible with Internet Explorer 
under Windows, but I'm not sure about all the other 
browsers and platforms. With IE the POST data must 
be "packed".

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

>Comment By: Kevin Altis (kasplat)
Date: 2002-01-03 10:58

Message:
Logged In: YES 
user_id=228025

If POST is not supported, there is a limit to the size of 
data that you can send; the limit will be different 
depending on each browser, but will always be less than 4K 
URL length limit.

Many sites don't accept GET instead of POST for form data. 
Unfortunately, it is often difficult to tell whether a site 
accepts GET without changing the form manually and 
attempting a GET. Sometimes the reason that GET isn't 
accepted is do to lazy programming, but since a user can't 
do anything about that they still end up needing POST.

Other times it is specifically because a site doesn't want 
the POST data to be cached. Any GET request will end up 
getting cached in proxies, show up in server logs, and also 
cached on the local client. All of these are bad from a 
security standpoint. POST data is never cached.

This is not a critical addition to the webbrowser module, 
it simply makes it more complete. It is still possible to 
do POST another way and Windows programs can always drive 
Internet Explorer via COM or DDE, but I think POST in 
webbrowser would make a nice addition for the future.

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

Comment By: Guido van Rossum (gvanrossum)
Date: 2002-01-03 05:44

Message:
Logged In: YES 
user_id=6380

Why would you need this? I find it hard to imagine a
situation where I'd need this. Almost any forms that I would
want to reach through webbrowser support GET anyway.

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

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