mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-22 03:41:28 +08:00
more cleanups: http
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from io import BytesIO
|
||||
from typing import Any, Dict, Iterator, List, Optional, Tuple, Union
|
||||
from typing import Any, Dict, Iterator, List, Optional, Tuple, Union, Callable
|
||||
|
||||
from django.contrib.sessions.backends.db import SessionStore
|
||||
from django.core.handlers.wsgi import WSGIRequest
|
||||
from django.utils.datastructures import MultiValueDict
|
||||
|
||||
@@ -15,12 +16,12 @@ class HttpRequest:
|
||||
csrf_processing_done: bool
|
||||
get_host: Callable
|
||||
sensitive_post_parameters: str
|
||||
session: django.contrib.sessions.backends.db.SessionStore
|
||||
GET: Union[Dict[str, str], django.http.request.QueryDict] = ...
|
||||
POST: Union[Dict[str, str], django.http.request.QueryDict] = ...
|
||||
session: SessionStore
|
||||
GET: Union[Dict[str, str], QueryDict] = ...
|
||||
POST: Union[Dict[str, str], QueryDict] = ...
|
||||
COOKIES: Dict[str, str] = ...
|
||||
META: Dict[str, Union[int, str]] = ...
|
||||
FILES: django.utils.datastructures.MultiValueDict = ...
|
||||
FILES: MultiValueDict = ...
|
||||
path: str = ...
|
||||
path_info: str = ...
|
||||
method: Optional[str] = ...
|
||||
|
||||
Reference in New Issue
Block a user