Title: hyper.contrib.HTTP20Adapter with requests.session not working on python 2.7 · Issue #419 · python-hyper/hyper · GitHub
Open Graph Title: hyper.contrib.HTTP20Adapter with requests.session not working on python 2.7 · Issue #419 · python-hyper/hyper
X Title: hyper.contrib.HTTP20Adapter with requests.session not working on python 2.7 · Issue #419 · python-hyper/hyper
Description: Python 2.7.10 (default, Oct 6 2017, 22:29:07) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import requests >>> from hyper.contrib import HTT...
Open Graph Description: Python 2.7.10 (default, Oct 6 2017, 22:29:07) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import re...
X Description: Python 2.7.10 (default, Oct 6 2017, 22:29:07) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] on darwin Type "help", "copyright", "credits" or "license&q...
Opengraph URL: https://github.com/python-hyper/hyper/issues/419
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"hyper.contrib.HTTP20Adapter with requests.session not working on python 2.7","articleBody":"```\r\nPython 2.7.10 (default, Oct 6 2017, 22:29:07) \r\n[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import requests\r\n>>> from hyper.contrib import HTTP20Adapter\r\n>>> s = requests.Session()\r\n>>> s.mount('https://http2.pro', HTTP20Adapter())\r\n>>> s.get('https://http2.pro/api/v1').json()\r\n{u'push': 0, u'protocol': u'HTTP/1.1', u'user_agent': u'python-requests/2.22.0', u'http2': 0}\r\n```\r\nOn python3 same code shows:\r\n`{'http2': 1, 'protocol': 'HTTP/2.0', 'push': 0, 'user_agent': 'python-requests/2.22.0'}`","author":{"url":"https://github.com/ramazk","@type":"Person","name":"ramazk"},"datePublished":"2019-10-03T08:57:45Z","url":"https://github.com/python-hyper/hyper/issues/419"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3c9594a3-e5b6-c5ca-3c2d-01ba2965c8d1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A6C8:3510AF:B46B3:F57C5:6AFD9A17 |
| html-safe-nonce | 9e7ec6d53892f9d862752f7051090d81c38ad71a3c265d8492ea753b88547ae1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkM4OjM1MTBBRjpCNDZCMzpGNTdDNTo2QUZEOUExNyIsInZpc2l0b3JfaWQiOiIzOTM5ODA0MjI4NjExODQwNTM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 59f37a7f512eb0e2045d444cfded0701ebe70f693ebfbf847be1703c0b8e1240 |
| hovercard-subject-tag | issue:501938105 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-hyper/hyper/419/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ee812d30bd421706489ac4ed7ace5537c9ca3da0f4f500bfeef92cd82536d682/python-hyper/hyper/issues/419 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ee812d30bd421706489ac4ed7ace5537c9ca3da0f4f500bfeef92cd82536d682/python-hyper/hyper/issues/419 |
| og:image:alt | Python 2.7.10 (default, Oct 6 2017, 22:29:07) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import re... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ramazk |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| turbo-cache-control | no-preview |
| go-import | github.com/python-hyper/hyper git https://github.com/python-hyper/hyper.git |
| octolytics-dimension-user_id | 13035907 |
| octolytics-dimension-user_login | python-hyper |
| octolytics-dimension-repository_id | 16165969 |
| octolytics-dimension-repository_nwo | python-hyper/hyper |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16165969 |
| octolytics-dimension-repository_network_root_nwo | python-hyper/hyper |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width