On Thu, Sep 16, 2010 at 11:05 AM, Chris McDonough <chr...@plope.com> wrote:
> It's, e.g.
>
> b'8080'
>
> .. instead of the integer value 8080.
>
> Apparently the type of this value was not spelled out sufficiently in
> the WSGI spec and string values and integer values were used
> interchangeably, making it harder to join them with the other values in
> the environ (a common thing to want to do).  Bytes instances are
> attractive, as the rest of the values are also bytes, so they can be
> joined together easily.

If this is to be "standard" - that is the SERVER_PORT be specified as
bytes representing the numerical port (tcp)
then I support this. In the case of unix sockets it could be a null
byte string, eg: b""

cheers
james


-- 
-- James Mills
--
-- "Problems are solved by method"
_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to