Ticket #6181 defect closed fixed

Opened 6 months ago

Last modified 6 months ago

`content` attribute of HTTP requests is not documented anywhere

Reported by: itamar Owned by: exarkun
Priority: normal Milestone:
Component: web Keywords: documentation
Cc: jknight Branch: branches/request.content-6181
Author: exarkun Launchpad Bug:

Description

If you want to access the body of e.g. a POST, you do so with content attribute of the twisted.web.server.Request instance. This attribute is not, however, documented in the API docs, nor is it mentioned in the "Using Twisted Web" or "Twisted Web in 60 Seconds" howtos.

Change History

1

Changed 6 months ago by DefaultCC Plugin

  • cc jknight added

2

Changed 6 months ago by glyph

#6195 was a duplicate of this.

3

Changed 6 months ago by exarkun

  • branch set to branches/request.content-6181
  • branch_author set to exarkun

(In [36459]) Branching to 'request.content-6181'

4

Changed 6 months ago by exarkun

  • keywords review added

5

Changed 6 months ago by therve

  • keywords review removed
  • owner set to exarkun
  • +<li><a href="other-request-bodies.xhtml">Other Request Bodies</a></li>
    

I don't think we should capitalize this, "Other request bodies" is fine.

Please merge!

6

Changed 6 months ago by exarkun

(In [36483]) Un-titlecase the title link, for local consistency

refs #6181

7

Changed 6 months ago by exarkun

  • status changed from new to closed
  • resolution set to fixed

(In [36484]) Merge request.content-6181

Author: exarkun Reviewer: therve Fixes: #6181

Add documentation for the content attribute to twisted.web.iweb.IRequest. The request object has always had this attribute.

Note: See TracTickets for help on using tickets.