Am 16.09.10 02:02, schrieb John Nagle:
On 9/15/2010 4:44 PM, python-dev-requ...@python.org wrote:
``SERVER_PORT`` must be a bytes instance (not an integer).
What's that supposed to mean? What goes in the "bytes
instance"? A character string in some format? A long binary
number? If the latter, with which byte ordering? What
problem does this\ solve?
Just interpreting (i.e. not having participated in the specification):
Given the CGI background of all this, SERVER_PORT is an ASCII-encoded
decimal rendering of the port number.
As to what problem this solves: I guess it allows for easy pass-through
from the web server.
Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com