diff options
| author | Bert JW Regeer <bertjw@regeer.org> | 2016-10-01 16:16:34 -0600 |
|---|---|---|
| committer | Bert JW Regeer <bertjw@regeer.org> | 2016-10-02 20:26:32 -0600 |
| commit | 2a8aff8f785df44c7207626215923304f8a0e600 (patch) | |
| tree | 6e2bb2e68e82bc0f4684f032e9a8f987fb6d7131 /webob | |
| parent | 99cd08ecf6728586c40c4bf4b142d39874421ba4 (diff) | |
| download | webob-2a8aff8f785df44c7207626215923304f8a0e600.tar.gz | |
HTTP Status code 205 also has no body
Diffstat (limited to 'webob')
| -rw-r--r-- | webob/response.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webob/response.py b/webob/response.py index b31fdc1..504b3ad 100644 --- a/webob/response.py +++ b/webob/response.py @@ -225,7 +225,7 @@ class Response(object): encoding = None code_has_body = ( self._status[0] != '1' and - self._status[:3] not in ('204', '304') + self._status[:3] not in ('204', '205', '304') ) if headerlist is None and code_has_body: content_type = content_type or self.default_content_type |
