A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-September/103779.html below:

[Python-Dev] Add PEP 444, Python Web3 Interface.

[Python-Dev] Add PEP 444, Python Web3 Interface. [Python-Dev] Add PEP 444, Python Web3 Interface."Martin v. Löwis" martin at v.loewis.de
Fri Sep 17 15:18:39 CEST 2010
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
More information about the Python-Dev mailing list

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