معرفی شرکت ها


django-postleware-1.0.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A simple django middleware that ensures POSTs aren't cached by clients.
ویژگی مقدار
سیستم عامل -
نام فایل django-postleware-1.0.1
نام django-postleware
نسخه کتابخانه 1.0.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Adam Thurlow
ایمیل نویسنده thurloat@gmail.com
آدرس صفحه اصلی http://github.com/thurloat/django-postleware
آدرس اینترنتی https://pypi.org/project/django-postleware/
مجوز BSD
django-postleware ################# A simple django middleware class which injects a `Cache-Control: no-cache` header onto POST responses. Installing ########## 1. `pip install django-postleware` 2. Add the middleware to `settings.py` .. code-block:: python MIDDLEWARE_CLASSES = ( 'postleware.PostResponseCachebusterMiddleware', # ... ) Why? #### Mobile Webkit (iOS4+ and Android stock bowser) has a bug that causes it to cache similar POST requests when it clearly shouldn't. Rather than only caching requests that have a specific `Cache-Control` header, it does the opposite and caches the request unless the `no-cache` value is present in the POST response. Not working for you? #################### Let me know by opening an issue or pull request. This was enough for me, but I have read around the webs that other devs needed to add additional headers to the response before it would stop caching.


نحوه نصب


نصب پکیج whl django-postleware-1.0.1:

    pip install django-postleware-1.0.1.whl


نصب پکیج tar.gz django-postleware-1.0.1:

    pip install django-postleware-1.0.1.tar.gz