Files
pyGoEdge-UserPanel/.venv/Lib/site-packages/django/middleware/__pycache__/http.cpython-312.pyc

10 lines
2.2 KiB
Plaintext
Raw Normal View History

2025-11-18 03:36:49 +08:00
<EFBFBD>
j<> iP<00><00>F<00>ddlmZmZmZddlmZddlmZGd<04>de<05>Zy)<07>)<03> cc_delim_re<72>get_conditional_response<73>set_response_etag)<01>MiddlewareMixin)<01>parse_http_date_safec<00><00>eZdZdZd<02>Zd<03>Zy)<05>ConditionalGetMiddlewarez<65>
Handle conditional GET operations. If the response has an ETag or
Last-Modified header and the request has If-None-Match or If-Modified-Since,
replace the response with HttpNotModified. Add an ETag header if needed.
c<00>
<00>|jdk7r|S|j|<02>r|jd<02>s t|<02>|j d<02>}|j d<03>}|xr t |<04>}|s|rt ||||<02><04>S|S)N<>GET<45>ETagz Last-Modified)<03>etag<61> last_modified<65>response)<07>method<6F>
needs_etag<EFBFBD>
has_headerr<00>getrr)<05>self<6C>requestrr rs <20>EE:\Project\pygoedge\.venv\Lib\site-packages\django/middleware/http.py<70>process_responsez)ConditionalGetMiddleware.process_response s<><00><00> <13>><3E>><3E>U<EFBFBD> "<22><1B>O<EFBFBD> <0F>?<3F>?<3F>8<EFBFBD> $<24>X<EFBFBD>-@<40>-@<40><16>-H<> <1D>h<EFBFBD> '<27><17>|<7C>|<7C>F<EFBFBD>#<23><04> <20> <0C> <0C>_<EFBFBD>5<> <0A>%<25>M<>*><3E>}<7D>*M<> <0A> <0F>=<3D>+<2B><17><19>+<2B>!<21> <0E> <0E><18><0F>c<00>p<00>tj|jdd<02><00>}td<03>|D<00><00>S)z:Return True if an ETag header should be added to response.z Cache-Control<6F>c3<00>BK<00>|]}|j<00>dk7<00><01><00>y<01>w)zno-storeN)<01>lower)<02>.0<EFBFBD>headers r<00> <genexpr>z6ConditionalGetMiddleware.needs_etag.<locals>.<genexpr>(s<00><00><><00>T<>>S<>F<EFBFBD>6<EFBFBD><<3C><<3C>><3E>Z<EFBFBD>/<2F>>S<>s<00>)r<00>splitr<00>all)rr<00>cache_control_headerss rrz#ConditionalGetMiddleware.needs_etag%s1<00><00> +<2B> 1<> 1<>(<28>,<2C>,<2C><EFBFBD>PR<50>2S<32> T<><1D><12>T<>>S<>T<>T<>TrN)<06>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__doc__rr<00>rrr r s<00><00><08> <18>0Urr N) <09>django.utils.cacherrr<00>django.utils.deprecationr<00>django.utils.httprr r'rr<00><module>r+s<00><01>W<>W<>4<>2<>"U<01><EFBFBD>"Ur