[issue900112] cgi.fieldStorage doesn't grok standards env. variables

2013-04-12 Thread Senthil Kumaran

Senthil Kumaran added the comment:

I am closing this as an Invalid issue. Please bring to discussion at python-dev 
if someone disagrees. Thank you!

--
resolution:  -> invalid
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue900112] cgi.fieldStorage doesn't grok standards env. variables

2013-04-12 Thread Andrew Svetlov

Andrew Svetlov added the comment:

Agree with Sentil

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue900112] cgi.fieldStorage doesn't grok standards env. variables

2013-04-11 Thread Senthil Kumaran

Senthil Kumaran added the comment:

Incidentally I was looking at this bug in the morning and it looks like this 
one is on the edge. Looks like we may not need the functionality as provided by 
the patch.

The existing headers are set in "FieldStorage" for use within the FieldStorage 
class. We do not need to get the headers out from environ variable and set in 
the FieldStorage headers. That is because we can already send the headers if we 
want as headers and environ are set by the users when Initializing FieldStorage 
object. 
So, I am really not sure of the utility value of the patch and gravitating 
towards closing this as Invalid. I am extremely sorry that this bug has been 
open for such a long time. But it also shows that not many have felt the need 
for this.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue900112] cgi.fieldStorage doesn't grok standards env. variables

2013-04-11 Thread Andrew Svetlov

Andrew Svetlov added the comment:

I've found the stable link to CGI 1.1 spec at 
http://tools.ietf.org/html/draft-robinson-www-interface-00
Links to spec from the issue looks like broken.

Please, can you describe why we need to convert, say, HTTP_USER_AGENT to 
user-agent?

I see in the spec:
  Environment variables with names beginning with "HTTP_" contain
  header data read from the client, if the protocol used was HTTP.
  The HTTP header name is converted to upper case, has all
  occurrences of "-" replaced with "_" and has "HTTP_" prepended to
  give the environment variable name.

Why we need the reverse varname translation?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue900112] cgi.fieldStorage doesn't grok standards env. variables

2013-04-07 Thread Evgen Koval

Evgen Koval added the comment:

Patch for 3.3 is uploaded.

--
nosy: +Evgen.Koval, asvetlov
Added file: http://bugs.python.org/file29708/issue900112.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue900112] cgi.fieldStorage doesn't grok standards env. variables

2013-02-23 Thread Andreas Ã…kerlund

Andreas Ã…kerlund added the comment:

Submited a patch against 2.7 that adds all environment variables starting with 
"HTTP_", strips of the prefix and converts it to lower case. Also added a small 
test case.

--
keywords: +patch
nosy: +thezulk
Added file: http://bugs.python.org/file29173/issue900112.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue900112] cgi.fieldStorage doesn't grok standards env. variables

2010-07-10 Thread Senthil Kumaran

Changes by Senthil Kumaran :


--
assignee:  -> orsenthil
nosy: +orsenthil

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue900112] cgi.fieldStorage doesn't grok standards env. variables

2010-07-10 Thread Mark Lawrence

Mark Lawrence  added the comment:

Original link is duff try this.
http://cgi-spec.golux.com/draft-coar-cgi-v11-03.txt

--
nosy: +BreamoreBoy
versions: +Python 3.2 -Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue900112] cgi.fieldStorage doesn't grok standards env. variables

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue900112] cgi.fieldStorage doesn't grok standards env. variables

2009-02-14 Thread Daniel Diniz

Changes by Daniel Diniz :


--
stage:  -> test needed
type:  -> feature request
versions: +Python 2.7 -Python 2.3

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com