mirror of
https://github.com/django/django.git
synced 2025-10-25 22:56:12 +00:00
Fixed #34074 -- Added headers argument to RequestFactory and Client classes.
This commit is contained in:
committed by
Mariusz Felisiak
parent
b181cae2e3
commit
67da22f08e
@@ -5,9 +5,14 @@ from urllib.parse import urlencode
|
||||
|
||||
from django.core.exceptions import DisallowedHost
|
||||
from django.core.handlers.wsgi import LimitedStream, WSGIRequest
|
||||
from django.http import HttpRequest, RawPostDataException, UnreadablePostError
|
||||
from django.http import (
|
||||
HttpHeaders,
|
||||
HttpRequest,
|
||||
RawPostDataException,
|
||||
UnreadablePostError,
|
||||
)
|
||||
from django.http.multipartparser import MultiPartParserError
|
||||
from django.http.request import HttpHeaders, split_domain_port
|
||||
from django.http.request import split_domain_port
|
||||
from django.test import RequestFactory, SimpleTestCase, override_settings
|
||||
from django.test.client import FakePayload
|
||||
|
||||
|
||||
Reference in New Issue
Block a user