This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author asvetlov
Recipients BreamoreBoy, Evgen.Koval, asvetlov, nimbustier, orsenthil, thezulk
Date 2013-04-11.18:32:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365705162.48.0.845831621823.issue900112@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2013-04-11 18:32:42asvetlovsetrecipients: + asvetlov, orsenthil, nimbustier, BreamoreBoy, thezulk, Evgen.Koval
2013-04-11 18:32:42asvetlovsetmessageid: <1365705162.48.0.845831621823.issue900112@psf.upfronthosting.co.za>
2013-04-11 18:32:42asvetlovlinkissue900112 messages
2013-04-11 18:32:42asvetlovcreate