mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-08 13:04:47 +08:00
12 lines
378 B
Python
12 lines
378 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: ...
|