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 <rep...@bugs.python.org>
<http://bugs.python.org/issue900112>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to