Title: rename DecodedURL to Link since it's usually what people want · Issue #159 · python-hyper/hyperlink · GitHub
Open Graph Title: rename DecodedURL to Link since it's usually what people want · Issue #159 · python-hyper/hyperlink
X Title: rename DecodedURL to Link since it's usually what people want · Issue #159 · python-hyper/hyperlink
Description: Our recent exciting foray into making handling of + more correct (#129) had some exciting consequences for our codebase at work, but in ways that were surprisingly hard to detect. I found lots of code that other folks had written using s...
Open Graph Description: Our recent exciting foray into making handling of + more correct (#129) had some exciting consequences for our codebase at work, but in ways that were surprisingly hard to detect. I found lots of c...
X Description: Our recent exciting foray into making handling of + more correct (#129) had some exciting consequences for our codebase at work, but in ways that were surprisingly hard to detect. I found lots of c...
Opengraph URL: https://github.com/python-hyper/hyperlink/issues/159
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"rename DecodedURL to Link since it's usually what people want","articleBody":"Our recent exciting foray into making handling of + more correct (#129) had some exciting consequences for our codebase at work, but in ways that were surprisingly hard to detect. I found lots of code that other folks had written using selective string replacements and `urllib.parse` to work around `URL`'s behavior in various places, since more often than not what people want to use `hyperlink` for is to take an application-level value and send it to another application via encoding in a URL segment or query parameter value, and `DecodedURL` is not very discoverable unless you're starting with the docs rather than reading any existing code or exploring the library interactively.\r\n\r\nI think that it would make sense to move to a naming structure and documentation that reflects that `DecodedURL` is what you want by default, although the tools available in `EncodedURL` are valuable and necessary to achieve specific effects sometimes.\r\n\r\nI propose that `hyperlink.Link` would work best for this high-level naming.","author":{"url":"https://github.com/glyph","@type":"Person","name":"glyph"},"datePublished":"2021-03-18T06:44:11Z","url":"https://github.com/python-hyper/hyperlink/issues/159"}
| 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:aa4565e6-d645-6c3b-1f5a-684e51d237c3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E3EC:32E0F9:34EA950:468D17D:6B06E7A3 |
| html-safe-nonce | 169462b69c2b6b5fdce042f73c2ad5d63566d13c71fef1785ad57fa36a557052 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0VDOjMyRTBGOTozNEVBOTUwOjQ2OEQxN0Q6NkIwNkU3QTMiLCJ2aXNpdG9yX2lkIjoiOTQwMTcxMTMwMzIzNzg5NzMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 81bb5a2ec007ea3e45d75fd20e97f8a08fc8508e2ad2a3b3e3a6ae7bed8aa02b |
| hovercard-subject-tag | issue:834450204 |
| 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/159/issue_layout |
| twitter:image | https://opengraph.githubassets.com/29b561f09535e9da91e5ec5f1606b8704335c38774946bd5e40a35af02f4b045/python-hyper/hyperlink/issues/159 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/29b561f09535e9da91e5ec5f1606b8704335c38774946bd5e40a35af02f4b045/python-hyper/hyperlink/issues/159 |
| og:image:alt | Our recent exciting foray into making handling of + more correct (#129) had some exciting consequences for our codebase at work, but in ways that were surprisingly hard to detect. I found lots of c... |
| 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 | canary-2 |
| 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