mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
bump version to 0.8.3
cookie rewrite: remove 'secure' flag if present
This commit is contained in:
parent
6c8cb806d9
commit
f2d7bd074a
@ -1,3 +1,9 @@
|
|||||||
|
pywb 0.8.3 changelist
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
* cookie rewrite: remove cookie ``secure`` flag to allow equivalent replay via http as well as https
|
||||||
|
|
||||||
|
|
||||||
pywb 0.8.2 changelist
|
pywb 0.8.2 changelist
|
||||||
~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
PyWb 0.8.2
|
PyWb 0.8.3
|
||||||
==========
|
==========
|
||||||
|
|
||||||
.. image:: https://travis-ci.org/ikreymer/pywb.png?branch=develop
|
.. image:: https://travis-ci.org/ikreymer/pywb.png?branch=develop
|
||||||
|
@ -32,6 +32,11 @@ class WbUrlBaseCookieRewriter(object):
|
|||||||
if morsel.get('max-age'):
|
if morsel.get('max-age'):
|
||||||
del morsel['max-age']
|
del morsel['max-age']
|
||||||
|
|
||||||
|
# for now, also remove secure to avoid issues when
|
||||||
|
# proxying over plain http (TODO: detect https?)
|
||||||
|
if morsel.get('secure'):
|
||||||
|
del morsel['secure']
|
||||||
|
|
||||||
|
|
||||||
#=================================================================
|
#=================================================================
|
||||||
class MinimalScopeCookieRewriter(WbUrlBaseCookieRewriter):
|
class MinimalScopeCookieRewriter(WbUrlBaseCookieRewriter):
|
||||||
|
2
setup.py
2
setup.py
@ -34,7 +34,7 @@ class PyTest(TestCommand):
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='pywb',
|
name='pywb',
|
||||||
version='0.8.2',
|
version='0.8.3',
|
||||||
url='https://github.com/ikreymer/pywb',
|
url='https://github.com/ikreymer/pywb',
|
||||||
author='Ilya Kreymer',
|
author='Ilya Kreymer',
|
||||||
author_email='ikreymer@gmail.com',
|
author_email='ikreymer@gmail.com',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user