mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-05-19 23:09:56 +08:00
initial commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
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: ...
|
||||
Reference in New Issue
Block a user