File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -202,6 +202,10 @@ class MediaType:
202202 @property
203203 def is_all_types (self ) -> bool : ...
204204 def match (self , other : str ) -> bool : ...
205+ @cached_property
206+ def quality (self ) -> float : ...
207+ @property
208+ def specificity (self ) -> int : ...
205209
206210@overload
207211def bytes_to_text (s : None , encoding : str ) -> None : ...
Original file line number Diff line number Diff line change @@ -398,6 +398,7 @@ django.http.HttpRequest.headers
398398django.http.HttpResponse.text
399399django.http.request.HttpRequest.accepted_types
400400django.http.request.HttpRequest.headers
401+ django.http.request.MediaType.quality
401402django.http.response.HttpResponse.text
402403django.middleware.csrf.CsrfViewMiddleware.allowed_origin_subdomains
403404django.middleware.csrf.CsrfViewMiddleware.allowed_origins_exact
Original file line number Diff line number Diff line change @@ -172,8 +172,6 @@ django.http.QueryDict.pop
172172django.http.StreamingHttpResponse.text
173173django.http.request.HttpRequest.accepted_type
174174django.http.request.HttpRequest.get_preferred_type
175- django.http.request.MediaType.quality
176- django.http.request.MediaType.specificity
177175django.http.request.QueryDict.pop
178176django.http.response.StreamingHttpResponse.text
179177django.template.Library.simple_block_tag
You can’t perform that action at this time.
0 commit comments