René's URL Explorer Experiment


Title: DecodedURL by mahmoud · Pull Request #54 · python-hyper/hyperlink · GitHub

Open Graph Title: DecodedURL by mahmoud · Pull Request #54 · python-hyper/hyperlink

X Title: DecodedURL by mahmoud · Pull Request #54 · python-hyper/hyperlink

Description: This still needs some documentation, but to address #44 and the handful of issues surrounding the central problem, I present DecodedURL. It takes care of handling reserved characters so you don't have to. From the docstring: DecodedURL is a type meant to act as a higher-level interface to the URL. It is the unicode to URL's bytes. DecodedURL has almost exactly the same API as URL, but everything going in and out is in its maximally decoded state. All percent decoding is handled automatically. Where applicable, a UTF-8 encoding is presumed. Be advised that some interactions, can raise UnicodeEncodeErrors and UnicodeDecodeErrors, just like when working with bytestrings. Examples of such interactions include handling query strings encoding binary data, and paths containing segments with special characters encoded with codecs other than UTF-8. It's tested, works, and seems practical, though, so take a look!

Open Graph Description: This still needs some documentation, but to address #44 and the handful of issues surrounding the central problem, I present DecodedURL. It takes care of handling reserved characters so you don'...

X Description: This still needs some documentation, but to address #44 and the handful of issues surrounding the central problem, I present DecodedURL. It takes care of handling reserved characters so you don&...

Opengraph URL: https://github.com/python-hyper/hyperlink/pull/54

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:3baf84ca-6202-692e-a871-e1b99dd03485
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD6E4:1AD04B:5A577:7C062:6B06F14A
html-safe-noncefff3f320aa9aa2ee74a9c1b294f595ee189cebc26cf00fb5704056b40903823e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkU0OjFBRDA0Qjo1QTU3Nzo3QzA2Mjo2QjA2RjE0QSIsInZpc2l0b3JfaWQiOiIzODMyMDY4NzcwNzQzMzgyMzQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6645ddf31bf7c39a7d591e073b3772d06e5f562dd1820e48f1030c51b255b0a2
hovercard-subject-tagpull_request:160613437
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-hyper/hyperlink/pull/54/files
twitter:imagehttps://avatars.githubusercontent.com/u/130193?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/130193?s=400&v=4
og:image:altThis still needs some documentation, but to address #44 and the handful of issues surrounding the central problem, I present DecodedURL. It takes care of handling reserved characters so you don'...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None351ea5ca38a5758919d44ee52c70fe9003c0c2dfa20f04effd7fac0c5330c16b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-hyper/hyperlink git https://github.com/python-hyper/hyperlink.git
octolytics-dimension-user_id13035907
octolytics-dimension-user_loginpython-hyper
octolytics-dimension-repository_id82321340
octolytics-dimension-repository_nwopython-hyper/hyperlink
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id82321340
octolytics-dimension-repository_network_root_nwopython-hyper/hyperlink
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release891bde3f438884e9c6c7ccd826f33805910a978b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-hyper/hyperlink/pull/54/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-hyper%2Fhyperlink%2Fpull%2F54%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-hyper%2Fhyperlink%2Fpull%2F54%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python-hyper%2Fhyperlink
Reloadhttps://github.com/python-hyper/hyperlink/pull/54/files
Reloadhttps://github.com/python-hyper/hyperlink/pull/54/files
Reloadhttps://github.com/python-hyper/hyperlink/pull/54/files
python-hyperhttps://github.com/python-hyper
hyperlinkhttps://github.com/python-hyper/hyperlink
Codehttps://github.com/python-hyper/hyperlink
Issues37 (37)https://github.com/python-hyper/hyperlink/issues
Pull requests21 (21)https://github.com/python-hyper/hyperlink/pulls
Actionshttps://github.com/python-hyper/hyperlink/actions
Projectshttps://github.com/python-hyper/hyperlink/projects
Security and qualityhttps://github.com/python-hyper/hyperlink/security
Insightshttps://github.com/python-hyper/hyperlink/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-hyper%2Fhyperlink%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-hyper%2Fhyperlink%2Fissues%2Fnew%2Fchoose
mahmoudhttps://github.com/mahmoud
masterhttps://github.com/python-hyper/hyperlink/tree/master
i44_decoded_urlhttps://github.com/python-hyper/hyperlink/tree/i44_decoded_url
Conversation 44 https://github.com/python-hyper/hyperlink/pull/54
Commits 28 https://github.com/python-hyper/hyperlink/pull/54/commits
Checks 0 https://github.com/python-hyper/hyperlink/pull/54/checks
Files changed https://github.com/python-hyper/hyperlink/pull/54/files
Please reload this pagehttps://github.com/python-hyper/hyperlink/pull/54/files
DecodedURL https://github.com/python-hyper/hyperlink/pull/54/files#top
Show all changes 28 commits https://github.com/python-hyper/hyperlink/pull/54/files
98edfc6 WIP DecodedURL with path and replace mahmoud Dec 17, 2017 https://github.com/python-hyper/hyperlink/pull/54/commits/98edfc65aa3c07275dab859abb6d41ed2c71ee30
dce971b DecodedURL.replace(query) and DecodedURL.query working. Fix up userin… mahmoud Dec 18, 2017 https://github.com/python-hyper/hyperlink/pull/54/commits/dce971b235990f958691949adb1ce24d61d3751d
2162c67 DecodedURL userinfo now working mahmoud Dec 18, 2017 https://github.com/python-hyper/hyperlink/pull/54/commits/2162c6761445d57ac4875cbab968885ab5653de6
d1bfc68 add new arguments to _percent_decode and use them in the DecodedURL mahmoud Dec 30, 2017 https://github.com/python-hyper/hyperlink/pull/54/commits/d1bfc68411060369ae1a4bcd8d1c4b8bd46c0952
adc7370 added DecodedURL to the public API, started on tests, added DecodedUR… mahmoud Dec 31, 2017 https://github.com/python-hyper/hyperlink/pull/54/commits/adc737094f9695b46c125cb5ac6130ddad99aa48
fc28ee3 add host and port to DecodedURL mahmoud Dec 31, 2017 https://github.com/python-hyper/hyperlink/pull/54/commits/fc28ee3446671caf8107aa867aa2d2ec86a5d033
358402f add DecodedURL.scheme property, plus some more tests mahmoud Dec 31, 2017 https://github.com/python-hyper/hyperlink/pull/54/commits/358402f35a2a39b5b16abcfe8e73c6afaff4e7fe
34d4212 add and test a bunch of DecodedURL passthrough methods mahmoud Dec 31, 2017 https://github.com/python-hyper/hyperlink/pull/54/commits/34d42120743cc7366c16aed4e3d4ad5dd608b1c0
161e93a test DecodedURL userinfo-related properties. Add generic percent enco… mahmoud Dec 31, 2017 https://github.com/python-hyper/hyperlink/pull/54/commits/161e93ac78c192c97ee4b47bc3bc27746ed97be8
95ea9ea add, test, and slightly refactor query manipulation methods. still pr… mahmoud Dec 31, 2017 https://github.com/python-hyper/hyperlink/pull/54/commits/95ea9ea6b286c19547b90b55f018b77c13541275
976c083 fix and test the aforementioned issue with query parameters which are… mahmoud Dec 31, 2017 https://github.com/python-hyper/hyperlink/pull/54/commits/976c083dec5c404ce3ebb3b638ad4f82e54d3d07
02a841c bit of housekeeping on DecodedURL, rearranging and adding a couple mi… mahmoud Dec 31, 2017 https://github.com/python-hyper/hyperlink/pull/54/commits/02a841c77388e2d5f193ceb58a68447a46cf6fd0
9a0438e DecodedURL: made .query a tuple. more obvious errors on attempted mut… mahmoud Dec 31, 2017 https://github.com/python-hyper/hyperlink/pull/54/commits/9a0438e7dc9da86806f764f770d4f73fd9b8f319
662ec79 DecodedURL.replace() now fixed and tested working for roundtripping U… mahmoud Dec 31, 2017 https://github.com/python-hyper/hyperlink/pull/54/commits/662ec79a2b9f43b643f49c744a2c3f031d3f4ab5
3aa4b61 add some Twisted-style methods to DecodedURL for consistency with URL… mahmoud Dec 31, 2017 https://github.com/python-hyper/hyperlink/pull/54/commits/3aa4b613234f84e6f8637844f20214bb2de0ddca
82deb29 some notes and docs on DecodedURL mahmoud Dec 31, 2017 https://github.com/python-hyper/hyperlink/pull/54/commits/82deb2999923e6889ea8b15e6c57b6876bca87a2
0b311d7 split out host decoding to its own function, remove duplicated code mahmoud Jan 1, 2018 https://github.com/python-hyper/hyperlink/pull/54/commits/0b311d7876ecebd1797280c899feacaca5fe9152
30e19a6 fix delimiter typo in docstring, thanks alex! mahmoud Jan 1, 2018 https://github.com/python-hyper/hyperlink/pull/54/commits/30e19a6e1fa0d0df86c77195a4e92a96c1583f00
696e8fd add parse convenience function and EncodedURL alias for URL to top-le… mahmoud Jan 1, 2018 https://github.com/python-hyper/hyperlink/pull/54/commits/696e8fd92a4da95e173f5bd3a68fc817a817ef6e
67ab0ec add lazy keyword to DecodedURL methods where appropriate. Add some co… mahmoud Jan 1, 2018 https://github.com/python-hyper/hyperlink/pull/54/commits/67ab0ec2c2f05ed8c0b003cbbd1a3b6528949682
6a90f4a DecodedURL pretty much fully covered by tests mahmoud Jan 6, 2018 https://github.com/python-hyper/hyperlink/pull/54/commits/6a90f4aef660bbcf5acde78f3c84e93c0c2ae9b9
ad63b9b docstrings for all DecodedURL members mahmoud Jan 6, 2018 https://github.com/python-hyper/hyperlink/pull/54/commits/ad63b9b6ce232fcf6e20947c20614319459de846
afc907b cover another line in _percent_decode mahmoud Jan 6, 2018 https://github.com/python-hyper/hyperlink/pull/54/commits/afc907b9376b5b6c0a777a3211e30c8ff52ec987
9f3212b Merge branch 'master' into i44_decoded_url mahmoud Jan 6, 2018 https://github.com/python-hyper/hyperlink/pull/54/commits/9f3212b256378e7f2d59d8418b55cc32e287e010
ac3be79 fixing test coverage for parse mahmoud Jan 6, 2018 https://github.com/python-hyper/hyperlink/pull/54/commits/ac3be792be623b123eed21bba8d1b583f75061df
dd8248c Merge branch 'i44_decoded_url' of github.com:python-hyper/hyperlink i… mahmoud Jan 6, 2018 https://github.com/python-hyper/hyperlink/pull/54/commits/dd8248c2e18e76fed01ed2244f355f364f8772c9
6dd3272 DecodedURL: address most of the comments about docstrings mahmoud Jan 7, 2018 https://github.com/python-hyper/hyperlink/pull/54/commits/6dd3272cf946214771a64f2c08000525316bbd9c
e8616fa add a few more DecodedURL/parse tests and a couple comments mahmoud Jan 7, 2018 https://github.com/python-hyper/hyperlink/pull/54/commits/e8616fa3ba9018e70413a38470e859f7e9f6148a
Clear filters https://github.com/python-hyper/hyperlink/pull/54/files
Please reload this pagehttps://github.com/python-hyper/hyperlink/pull/54/files
Please reload this pagehttps://github.com/python-hyper/hyperlink/pull/54/files
TODO.md https://github.com/python-hyper/hyperlink/pull/54/files#diff-5c6a1301c6b59b30a040d747d065e861d3dd98bde0e5a4356d92d594e9835986
__init__.py https://github.com/python-hyper/hyperlink/pull/54/files#diff-d8e648ebc6019d8eb5dfbd1cda9d4b9d37784189a828a3df291ff7f524408018
_url.py https://github.com/python-hyper/hyperlink/pull/54/files#diff-5b2e527ba5c6946cf8ab3c307b80ae76ecf2f68e749489d2bf0ea6cd234c4923
test_decoded_url.py https://github.com/python-hyper/hyperlink/pull/54/files#diff-234a051c8bd63f1c0e21bc532e18818956037c6ff829e8664fd1fd37a88e7815
test_parse.py https://github.com/python-hyper/hyperlink/pull/54/files#diff-ad1dc995638dc60c31a1bdde7e23ec0154523e3e10b888aa3f3738d8c8207ee7
TODO.mdhttps://github.com/python-hyper/hyperlink/pull/54/files#diff-5c6a1301c6b59b30a040d747d065e861d3dd98bde0e5a4356d92d594e9835986
View file https://github.com/python-hyper/hyperlink/blob/e8616fa3ba9018e70413a38470e859f7e9f6148a/TODO.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-hyper/hyperlink/pull/54/{{ revealButtonHref }}
https://github.com/python-hyper/hyperlink/pull/54/files#diff-5c6a1301c6b59b30a040d747d065e861d3dd98bde0e5a4356d92d594e9835986
https://github.com/python-hyper/hyperlink/pull/54/files#diff-5c6a1301c6b59b30a040d747d065e861d3dd98bde0e5a4356d92d594e9835986
hyperlink/__init__.pyhttps://github.com/python-hyper/hyperlink/pull/54/files#diff-d8e648ebc6019d8eb5dfbd1cda9d4b9d37784189a828a3df291ff7f524408018
View file https://github.com/python-hyper/hyperlink/blob/e8616fa3ba9018e70413a38470e859f7e9f6148a/hyperlink/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-hyper/hyperlink/pull/54/{{ revealButtonHref }}
Please reload this pagehttps://github.com/python-hyper/hyperlink/pull/54/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.