diff --git a/docs/requests.md b/docs/requests.md index 18676dd8..422672c8 100644 --- a/docs/requests.md +++ b/docs/requests.md @@ -57,14 +57,10 @@ For example: `request.query_params['abc']` #### Cookies -Cookies are exposed as an immutable dict. - -**Note**: Exception `KeyError` will be raised if nonexistant key is accessed as `request.cookies['key']`. -Instead cookies should be accessed with the `.get` method. +Cookies are exposed as a regular dictionary interface. For example: `request.cookies.get('mycookie')` - #### Body There are a few different interfaces for returning the body of the request: