kevin1024 / pytest-httpbin

Easily test your HTTP library against a local copy of httpbin.org
MIT License
189 stars 30 forks source link

Assert httpbin_secure doesn't redirect to http:// #73

Closed sfreilich closed 1 year ago

sfreilich commented 2 years ago

Currently, this asserts that the redirect Location header uses https:// explicitly. But the current version of httpbin seem to use a relative URL for that, which should also work.

graingert commented 1 year ago

I fixed this in https://github.com/kevin1024/pytest-httpbin/pull/76, thanks for the PR though!