#7108 closed (duplicate)
Documentation incorrect: The Response objects returned by TestClient DO NOT have a "headers" property
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | ||
Cc: | dstn@… | Triage Stage: | Accepted |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Section http://www.djangoproject.com/documentation/testing/#testing-responses claims that headers is a property of the Response objects returned by the test client's post() and get() methods, but this is not true.
(As of SVN rev 7500)
I have filed this as a documentation bug, but personally I would prefer if that functionality reappeared!
Change History (5)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 16 years ago
milestone: | → 1.0 |
---|
comment:4 by , 16 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
[7500] is a newforms-admin merge, are you sure this is the right rev?