Am 16.09.10 02:02, schrieb John Nagle: > On 9/15/2010 4:44 PM, python-dev-request at 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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4