mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-01-25 04:16:44 +08:00
11 lines
319 B
Python
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: ... |