Opened 9 years ago

Closed 8 years ago

Last modified 5 years ago

#7108 closed (duplicate)

Documentation incorrect: The Response objects returned by TestClient DO NOT have a "headers" property

Reported by: dstn@… Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: dstn@… Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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 Changed 8 years ago by Marc Fargas

[7500] is a newforms-admin merge, are you sure this is the right rev?

comment:2 Changed 8 years ago by Jeff Anderson

Triage Stage: UnreviewedAccepted

comment:3 Changed 8 years ago by Michael Radziej

milestone: 1.0

comment:4 Changed 8 years ago by Russell Keith-Magee

Resolution: duplicate
Status: newclosed

Duplicate of #7583, fixed in [7900]

comment:5 Changed 5 years ago by Jacob

milestone: 1.0

Milestone 1.0 deleted

Note: See TracTickets for help on using tickets.
Back to Top