Files
django-stubs/django/middleware/http.pyi
Maxim Kurnikov a9f215bf64 initial commit
2018-07-29 18:12:23 +03:00

11 lines
319 B
Python

from django.core.handlers.wsgi import WSGIRequest
from django.http.response import HttpResponse
class ConditionalGetMiddleware:
def needs_etag(self, response: HttpResponse) -> bool: ...
def process_response(
self,
request: WSGIRequest,
response: HttpResponse
) -> HttpResponse: ...