Opened 19 years ago

Closed 19 years ago

#2174 closed enhancement (invalid)

Add HTTP Method to Request Object

Reported by: ryan@… Owned by: Adrian Holovaty
Component: Core (Other) Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I'd like to see the HTTP Method added to the request object. This piece of information would allow me to verify that methods meant to process POST data only work when the request is a POST request. It would also allow me to develop RESTful web applications/services.

Change History (1)

comment:1 by James Bennett, 19 years ago

Resolution: invalid
Status: newclosed

This is already available via request.META['REQUEST_METHOD'].

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