mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 20:54:29 +08:00
14 lines
392 B
Python
14 lines
392 B
Python
from typing import Any, Optional
|
|
|
|
from django.core.handlers.wsgi import WSGIRequest
|
|
from django.http.response import HttpResponseBase
|
|
from django.utils.deprecation import MiddlewareMixin
|
|
|
|
re_accepts_gzip: Any
|
|
|
|
class GZipMiddleware(MiddlewareMixin):
|
|
get_response: None
|
|
def process_response(
|
|
self, request: WSGIRequest, response: HttpResponseBase
|
|
) -> HttpResponseBase: ...
|