#9458 defect closed fixed (fixed)

t.web.http.Request.args is documented as strings, but is bytes

Reported by: Wim Lewis Owned by: Wim Lewis <wiml@…>
Priority: normal Milestone: Python-3.x
Component: web Keywords: py3k
Cc: Branch:


The docs for the args ivar of Request say that it is a dictionary mapping strings to lists of strings (and gives a corresponding example), however on Py3, these are bytes objects, not strings.

(Presumably they should remain bytes and the docs should be changed to reflect that.)

Change History (1)

comment:1 Changed 12 months ago by Wim Lewis <wiml@…>

Owner: set to Wim Lewis <wiml@…>
Resolution: fixed
Status: newclosed

In fb05f93f:

Merge pull request #1113 from twisted/5533-irequest-postpath-attribute

Author: wiml
Reviewer: glyph
Fixes: ticket:5533 ticket:9091 ticket:9458

Add the prepath and postpath attributes to IRequest; fix other docstrings.

Note: See TracTickets for help on using tickets.