On Wed, Jan 6, 2016 at 10:19 AM Aymeric Augustin < aymeric.augus...@polytechnique.org> wrote:
> Hello Benoît, > > Thanks for clarifying that you also had the reverse problem in mind, > headers sent by applications. This side is less problematic in the sense > that application authors can adapt to stronger requirements. > > In general this is a bit of a mess due to differences between what the RFC > 2616 says and what browsers do in practice. That’s why I believe the > pragmatic solution is to exchange bytes. (This isn’t a major issue in the > grand scheme of things anyway.) > > Best regards, > > -- > Aymeric. > > Since sockets are only accepting bytes in python 3.x, having everything as bytes would also allow the server to process the response more easily... - benoît
_______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: https://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com