Changes between and of Initial VersionVersion 3Ticket #8067


Ignore:
Timestamp:
03/07/2016 02:48:36 AM (3 years ago)
Author:
hawkowl
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8067

    • Property Summary changed from twisted.web.http.Request.addCookie takes str parameters, not bytes to twisted.web.http.Request.addCookie should handle both bytes and str arguments
  • Ticket #8067 – Description

    initial v3  
    1 For consistency, this should take bytes arguments, and operate on bytes.
    2 
    31A potential thing to be mindful of is http://stackoverflow.com/questions/4400678/http-header-should-use-what-character-encoding -- the current implementation enforces ASCII, but users may wish to put random bytes into the cookie if they so wish, but enforcing ASCII is a good default.