Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

Commit

Permalink
Use https instead of http when testing against htt2bin.org
Browse files Browse the repository at this point in the history
  • Loading branch information
jdecuyper committed Mar 28, 2015
1 parent f7d7f5f commit 3de994c
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions test_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,21 @@ def test_hitting_http2bin_org(self):
"""
s = requests.Session()
a = HTTP20Adapter()
s.mount('http://http2bin', a)
s.mount('http://www.http2bin', a)
s.mount('https://http2bin', a)
s.mount('https://www.http2bin', a)

# Here are some nice URLs.
urls = [
'http://www.http2bin.org/',
'http://www.http2bin.org/ip',
'http://www.http2bin.org/user-agent',
'http://www.http2bin.org/headers',
'http://www.http2bin.org/get',
'https://www.http2bin.org/',
'https://www.http2bin.org/ip',
'https://www.http2bin.org/user-agent',
'https://www.http2bin.org/headers',
'https://www.http2bin.org/get',
'https://http2bin.org/',
'https://http2bin.org/ip',
'https://http2bin.org/user-agent',
'https://http2bin.org/headers',
'https://http2bin.org/get',
]

# Go get everything.
Expand Down

0 comments on commit 3de994c

Please sign in to comment.