From 9bd174b9a75299dce33e673a559f2b673399b971 Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Fri, 4 Nov 2022 12:33:09 +0000 Subject: Updated documentation and comments for RFC updates. - Updated references to RFC 1123 to RFC 5322 - Only partial as RFC 5322 sort of sub-references RFC 1123. - Updated references to RFC 2388 to RFC 7578 - Except RFC 2388 Section 5.3 which has no equivalent. - Updated references to RFC 2396 to RFC 3986 - Updated references to RFC 2616 to RFC 9110 - Updated references to RFC 3066 to RFC 5646 - Updated references to RFC 7230 to RFC 9112 - Updated references to RFC 7231 to RFC 9110 - Updated references to RFC 7232 to RFC 9110 - Updated references to RFC 7234 to RFC 9111 - Tidied up style of text when referring to RFC documents --- tests/view_tests/tests/test_static.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/view_tests') diff --git a/tests/view_tests/tests/test_static.py b/tests/view_tests/tests/test_static.py index 003e229859..9c873b447f 100644 --- a/tests/view_tests/tests/test_static.py +++ b/tests/view_tests/tests/test_static.py @@ -83,7 +83,7 @@ class StaticTests(SimpleTestCase): """Handle bogus If-Modified-Since values gracefully Assume that a file is modified since an invalid timestamp as per RFC - 2616, section 14.25. + 9110 Section 13.1.3. """ file_name = "file.txt" invalid_date = "Mon, 28 May 999999999999 28:25:26 GMT" @@ -99,7 +99,7 @@ class StaticTests(SimpleTestCase): """Handle even more bogus If-Modified-Since values gracefully Assume that a file is modified since an invalid timestamp as per RFC - 2616, section 14.25. + 9110 Section 13.1.3. """ file_name = "file.txt" invalid_date = ": 1291108438, Wed, 20 Oct 2010 14:05:00 GMT" -- cgit v1.2.1