mirror of
https://github.com/django/django.git
synced 2025-10-25 06:36:07 +00:00
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
This commit is contained in:
committed by
Mariusz Felisiak
parent
fad070b07b
commit
9bd174b9a7
@@ -425,10 +425,8 @@ class RequestsTests(SimpleTestCase):
|
||||
Multipart POST requests with Content-Length >= 0 are valid and need to
|
||||
be handled.
|
||||
"""
|
||||
# According to:
|
||||
# https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13
|
||||
# Every request.POST with Content-Length >= 0 is a valid request,
|
||||
# this test ensures that we handle Content-Length == 0.
|
||||
# According to RFC 9110 Section 8.6 every POST with Content-Length >= 0
|
||||
# is a valid request, so ensure that we handle Content-Length == 0.
|
||||
payload = FakePayload(
|
||||
"\r\n".join(
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user