diff options
| author | Sergey Schetinin <sergey@maluke.com> | 2010-08-11 05:37:28 +0300 |
|---|---|---|
| committer | Sergey Schetinin <sergey@maluke.com> | 2010-08-11 05:37:28 +0300 |
| commit | 3395ad4e4a74335015ce73ecfe728e9a8fcf7b33 (patch) | |
| tree | 81d7eed530b54e910f55760ac1aca70b2d285c8a /docs/reference.txt | |
| parent | c7fd0c9a385ff8238373c8f3e3aae402ed9c21b6 (diff) | |
| download | webob-3395ad4e4a74335015ce73ecfe728e9a8fcf7b33.tar.gz | |
* rewrite UnicodePathProperty as upath_property
* simpler etag_property implementation (+missing tests)
Diffstat (limited to 'docs/reference.txt')
| -rw-r--r-- | docs/reference.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/reference.txt b/docs/reference.txt index fce6d22..adc5bb0 100644 --- a/docs/reference.txt +++ b/docs/reference.txt @@ -996,7 +996,27 @@ To enable this you must create the response like >>> req.if_none_match = 'opaque-tag' >>> req.get_response(res) <Response ... 304 Not Modified> + + >>> req.if_none_match = '*' + >>> 'x' in req.if_none_match + True + >>> req.if_none_match = req.if_none_match + >>> 'x' in req.if_none_match + True + >>> req.if_none_match = None + >>> 'x' in req.if_none_match + False + >>> req.if_match = None + >>> 'x' in req.if_match + True + >>> req.if_match = req.if_match + >>> 'x' in req.if_match + True + >>> req.headers.get('If-Match') + '*' + >>> del req.if_none_match + >>> req.range = (1, 5) >>> result = req.get_response(res) >>> result.headers['content-range'] |
