From 328dbcc280f1e2652fefdd0c7f2ea73eac56bdbf Mon Sep 17 00:00:00 2001 From: ianb Date: Sun, 16 Nov 2008 00:36:38 +0000 Subject: Allow 201 with Content-type --- paste/lint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'paste/lint.py') 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': -- cgit v1.2.1