mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-08-19 06:08:04 +08:00
merge with stubgen output
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
# Stubs for django.middleware.http (Python 3.6)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
from django.utils.deprecation import MiddlewareMixin
|
||||
from typing import Any
|
||||
|
||||
from django.core.handlers.wsgi import WSGIRequest
|
||||
from django.http.response import HttpResponse
|
||||
|
||||
|
||||
class ConditionalGetMiddleware:
|
||||
class ConditionalGetMiddleware(MiddlewareMixin):
|
||||
def process_response(self, request: WSGIRequest, response: HttpResponse) -> HttpResponse: ...
|
||||
def needs_etag(self, response: HttpResponse) -> bool: ...
|
||||
def process_response(
|
||||
self,
|
||||
request: WSGIRequest,
|
||||
response: HttpResponse
|
||||
) -> HttpResponse: ...
|
||||
Reference in New Issue
Block a user