diff options
| author | Sergey Schetinin <sergey@maluke.com> | 2011-09-07 22:24:37 +0300 |
|---|---|---|
| committer | Sergey Schetinin <sergey@maluke.com> | 2011-09-07 22:24:37 +0300 |
| commit | 66ffc0b7a04ce5ef749b6c25f5d152fccb645ea0 (patch) | |
| tree | 6c2591e3aa19b3985acada9eba9af4c9b6af8d9f /docs/reference.txt | |
| parent | 254b49df3508f78997906d885c0b5fc386223065 (diff) | |
| download | webob-66ffc0b7a04ce5ef749b6c25f5d152fccb645ea0.tar.gz | |
* add AcceptCharset and AcceptLanguage subclasses instead of branching in Accept.__init__
* that allows us to remove Accept.header_name
* and change Accept.__repr__ to be more straightforward
Diffstat (limited to 'docs/reference.txt')
| -rw-r--r-- | docs/reference.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/reference.txt b/docs/reference.txt index 194589b..f44d80e 100644 --- a/docs/reference.txt +++ b/docs/reference.txt @@ -345,7 +345,7 @@ example means that ``text/html`` is okay, but >>> req.accept = 'text/html;q=0.5, application/xhtml+xml;q=1' >>> req.accept - <MIMEAccept at ... Accept: text/html;q=0.5, application/xhtml+xml> + <MIMEAccept('text/html;q=0.5, application/xhtml+xml')> >>> 'text/html' in req.accept True |
