diff options
author | ianb <devnull@localhost> | 2008-11-16 00:36:38 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2008-11-16 00:36:38 +0000 |
commit | 328dbcc280f1e2652fefdd0c7f2ea73eac56bdbf (patch) | |
tree | 35ef65e4e7ec6bdecc81c64f6808cc3b7a767ba1 /paste/lint.py | |
parent | fd10a55ca670f141800b22a63a79ffb2f41689ce (diff) | |
download | paste-328dbcc280f1e2652fefdd0c7f2ea73eac56bdbf.tar.gz |
Allow 201 with Content-type
Diffstat (limited to 'paste/lint.py')
-rw-r--r-- | paste/lint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/lint.py b/paste/lint.py index 45633ff..03b4a60 100644 --- a/paste/lint.py +++ b/paste/lint.py @@ -402,7 +402,7 @@ def check_content_type(status, headers): code = int(status.split(None, 1)[0]) # @@: need one more person to verify this interpretation of RFC 2616 # http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html - NO_MESSAGE_BODY = (201, 204, 304) + NO_MESSAGE_BODY = (204, 304) NO_MESSAGE_TYPE = (204, 304) for name, value in headers: if name.lower() == 'content-type': |