Changes between Version 6 and Version 7 of HttpRequest
- Timestamp:
- Jan 29, 2008, 12:51:53 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HttpRequest
v6 v7 27 27 == Dictionary Syntax == 28 28 29 !HttpRequest objects allow form data to be retrieved using standard Python dictionary syntax. It will check for `GET` data first, then `POST`. Like any dictionary, accessing a non-existant key will result in a n `AttributeError`. This access is read-only.29 !HttpRequest objects allow form data to be retrieved using standard Python dictionary syntax. It will check for `GET` data first, then `POST`. Like any dictionary, accessing a non-existant key will result in a `KeyError`. This access is read-only. 30 30 31 31 {{{