Opened 17 years ago

Closed 16 years ago

Last modified 13 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: 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 Marc Fargas, 16 years ago

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

comment:2 by Jeff Anderson, 16 years ago

Triage Stage: UnreviewedAccepted

comment:3 by Michael Radziej, 16 years ago

milestone: 1.0

comment:4 by Russell Keith-Magee, 16 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #7583, fixed in [7900]

comment:5 by Jacob, 13 years ago

milestone: 1.0

Milestone 1.0 deleted

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