Title: It’s possible to send header blocks from hyper-as-server that hyper-as-client will reject · Issue #262 · python-hyper/h2 · GitHub
Open Graph Title: It’s possible to send header blocks from hyper-as-server that hyper-as-client will reject · Issue #262 · python-hyper/h2
X Title: It’s possible to send header blocks from hyper-as-server that hyper-as-client will reject · Issue #262 · python-hyper/h2
Description: Picking up a comment from #261: We do a series of checks in the validate_headers pipeline for incoming header blocks, in particular: All fields should be lowercase. A Transfer-Encoding header must have value "trailers" No blocks with the...
Open Graph Description: Picking up a comment from #261: We do a series of checks in the validate_headers pipeline for incoming header blocks, in particular: All fields should be lowercase. A Transfer-Encoding header must ...
X Description: Picking up a comment from #261: We do a series of checks in the validate_headers pipeline for incoming header blocks, in particular: All fields should be lowercase. A Transfer-Encoding header must ...
Opengraph URL: https://github.com/python-hyper/h2/issues/262
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"It’s possible to send header blocks from hyper-as-server that hyper-as-client will reject","articleBody":"Picking up a comment from #261:\n\nWe do a series of checks in the `validate_headers` pipeline for incoming header blocks, in particular:\n- [x] All fields should be lowercase.\n- [x] A Transfer-Encoding header must have value \"trailers\"\n- [x] No blocks with the Connection header.\n- [x] No duplicate pseudo-header fields and/or pseudo-header fields coming after an ordinary header field.\n- [x] No header blocks with bad :authority/Host headers.\n\nBut we don’t enforce all these rules on header blocks that we send, which suggests that it’s possible to send a header block with hyper that we’d reject if we received. Which seems odd.\n\n(1) is achieved by the `_lowercase_header_names` pipeline, and I’m adding (5) in #261. I think we should be enforcing (2)-(4) on header blocks that we send as well.\n\nDoes that seem sensible?\n","author":{"url":"https://github.com/alexwlchan","@type":"Person","name":"alexwlchan"},"datePublished":"2016-07-20T21:02:05Z","url":"https://github.com/python-hyper/h2/issues/262"}
| 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:75186cc3-5f32-859d-cafa-004386ab606b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA7C:1C761C:F68099:15077E7:6B06F17F |
| html-safe-nonce | 6ca44f0288f43a1c110933e68687467c0c0212da351bfc9553e499d5fe470928 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTdDOjFDNzYxQzpGNjgwOTk6MTUwNzdFNzo2QjA2RjE3RiIsInZpc2l0b3JfaWQiOiI3MTcxNDM3NDExMzkzMDA4MDAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 29186f03e303953f4a660bc872c7f54806f0efbb328443b520b5ff2dddfe265a |
| hovercard-subject-tag | issue:166681289 |
| 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/h2/262/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f2d34836691d8e6ba76f092c09d1f58b38b584fac6f361faa0d5efd4c4b85716/python-hyper/h2/issues/262 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f2d34836691d8e6ba76f092c09d1f58b38b584fac6f361faa0d5efd4c4b85716/python-hyper/h2/issues/262 |
| og:image:alt | Picking up a comment from #261: We do a series of checks in the validate_headers pipeline for incoming header blocks, in particular: All fields should be lowercase. A Transfer-Encoding header must ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alexwlchan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 351ea5ca38a5758919d44ee52c70fe9003c0c2dfa20f04effd7fac0c5330c16b |
| turbo-cache-control | no-preview |
| go-import | github.com/python-hyper/h2 git https://github.com/python-hyper/h2.git |
| octolytics-dimension-user_id | 13035907 |
| octolytics-dimension-user_login | python-hyper |
| octolytics-dimension-repository_id | 37996233 |
| octolytics-dimension-repository_nwo | python-hyper/h2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 37996233 |
| octolytics-dimension-repository_network_root_nwo | python-hyper/h2 |
| 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 | 891bde3f438884e9c6c7ccd826f33805910a978b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width