Title: remove "uses_netloc" parameter and attribute to .__init__ and .replace · Issue #24 · python-hyper/hyperlink · GitHub
Open Graph Title: remove "uses_netloc" parameter and attribute to .__init__ and .replace · Issue #24 · python-hyper/hyperlink
X Title: remove "uses_netloc" parameter and attribute to .__init__ and .replace · Issue #24 · python-hyper/hyperlink
Description: In twisted.python.url I tried very hard to eliminate the use of the confusing, vague, and antiquated term "netloc". (NB: neither https://tools.ietf.org/html/rfc3986 nor https://url.spec.whatwg.org includes the string "netloc"). I would t...
Open Graph Description: In twisted.python.url I tried very hard to eliminate the use of the confusing, vague, and antiquated term "netloc". (NB: neither https://tools.ietf.org/html/rfc3986 nor https://url.spec.whatwg.org ...
X Description: In twisted.python.url I tried very hard to eliminate the use of the confusing, vague, and antiquated term "netloc". (NB: neither https://tools.ietf.org/html/rfc3986 nor https://url.spec.w...
Opengraph URL: https://github.com/python-hyper/hyperlink/issues/24
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"remove \"uses_netloc\" parameter and attribute to .__init__ and .replace","articleBody":"In twisted.python.url I tried *very* hard to eliminate the use of the confusing, vague, and antiquated term \"netloc\". (NB: neither https://tools.ietf.org/html/rfc3986 nor https://url.spec.whatwg.org includes the string \"netloc\"). I would therefore like to eliminate its use in `uses_netloc` as well.\r\n\r\n`uses_netloc` describes an attribute of a scheme. However, in its current incarnation it can be made nonsensically inconsistent with the scheme it's actually using. Additionally, schemes also have other attributes, such as a name, and a default port number. (Possibly more in the future?) As such, the presence of the scheme registry makes URL objects kinda/sorta mutable after the fact.\r\n\r\nMy suggestion for a replacement would be for `URL` to reference a structured `scheme` *object*; the external scheme registry could then be a collection of such objects. If a URL is created before the registry is populated, its scheme object could then be inconsistent with the global one, but it could be replaced. At this point, I believe schemes would just have the three attributes given above (i.e. the parameters to `registerScheme`.","author":{"url":"https://github.com/glyph","@type":"Person","name":"glyph"},"datePublished":"2017-07-03T06:39:27Z","url":"https://github.com/python-hyper/hyperlink/issues/24"}
| 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:a662b292-d02c-3764-f6c6-332636ece486 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DBBE:1E1C:1761FED:21053F5:6B06EB5A |
| html-safe-nonce | fd52c75b6a567710d77fb9af861722e3110045511f85b67bc09e739929d43f1b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkJFOjFFMUM6MTc2MUZFRDoyMTA1M0Y1OjZCMDZFQjVBIiwidmlzaXRvcl9pZCI6IjU5NjkwODE0NTE2ODQ0OTAwNzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a22e29e82c07cfc98faa9d444e34ff74dbab0b281e7279c3e6a0b47dcb589ad8 |
| hovercard-subject-tag | issue:240079560 |
| 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/hyperlink/24/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4cbc8215c9ca5c59d46263174ce168f0d24af8044db23c2f50e7cd1e1b1721c6/python-hyper/hyperlink/issues/24 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4cbc8215c9ca5c59d46263174ce168f0d24af8044db23c2f50e7cd1e1b1721c6/python-hyper/hyperlink/issues/24 |
| og:image:alt | In twisted.python.url I tried very hard to eliminate the use of the confusing, vague, and antiquated term "netloc". (NB: neither https://tools.ietf.org/html/rfc3986 nor https://url.spec.whatwg.org ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | glyph |
| hostname | github.com |
| expected-hostname | github.com |
| None | 351ea5ca38a5758919d44ee52c70fe9003c0c2dfa20f04effd7fac0c5330c16b |
| turbo-cache-control | no-preview |
| go-import | github.com/python-hyper/hyperlink git https://github.com/python-hyper/hyperlink.git |
| octolytics-dimension-user_id | 13035907 |
| octolytics-dimension-user_login | python-hyper |
| octolytics-dimension-repository_id | 82321340 |
| octolytics-dimension-repository_nwo | python-hyper/hyperlink |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 82321340 |
| octolytics-dimension-repository_network_root_nwo | python-hyper/hyperlink |
| 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 | af8913cd0f2f77c41796be449ac66a9108825abc |
| 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