Skip to content

Commit

Permalink
Update force https test for new behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Mar 29, 2024
1 parent 575b2e5 commit f4ccdfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_force_https.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ def test_force_https_root_replay_1(self, fmod):
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)


0 comments on commit f4ccdfc

Please sign in to comment.