mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 08:04:49 +01:00
Update force https test for new behavior
This commit is contained in:
parent
575b2e53e3
commit
f4ccdfcee3
@ -56,6 +56,6 @@ class TestForceHttpsRoot(BaseConfigTest):
|
||||
resp = self.get('/20140128051539{0}/http://www.iana.org/domains/example', fmod,
|
||||
headers={'X-Forwarded-Proto': 'https'})
|
||||
|
||||
assert resp.headers['Location'] == 'https://localhost:80/20140128051539{0}/http://www.iana.org/domains/reserved'.format(fmod)
|
||||
assert resp.headers['Location'] == 'https://localhost:80/20140128051539{0}/http://www.iana.org/help/example-domains'.format(fmod)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user