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

Commit

Permalink
Merge pull request #102 from jdecuyper/readme-update
Browse files Browse the repository at this point in the history
Stop using Twitter for documentation examples (README).
  • Loading branch information
Lukasa committed Mar 17, 2015
2 parents 61bcc57 + 005596e commit 8880c62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ improved speed, lower bandwidth usage, better connection management, and more.

from hyper import HTTP20Connection

conn = HTTP20Connection('twitter.com:443')
conn.request('GET', '/')
conn = HTTP20Connection('http2bin.org:443')
conn.request('GET', '/get')
resp = conn.getresponse()

print(resp.read())
Expand Down

0 comments on commit 8880c62

Please sign in to comment.