René's URL Explorer Experiment


Title: Fix Lite API `Details` response object by silvanocerza · Pull Request #112 · ipinfo/python · GitHub

Open Graph Title: Fix Lite API `Details` response object by silvanocerza · Pull Request #112 · ipinfo/python

X Title: Fix Lite API `Details` response object by silvanocerza · Pull Request #112 · ipinfo/python

Description: This PR fixes the country_flag_url field of the Details objects so it points to the right URL. It also fixes other fields that weren't being set if though we had the information to do so. It also removes fields that can't be received from the Lite API instead of setting them to None. I had to fix some unrelated tests failing because of a location change.

Open Graph Description: This PR fixes the country_flag_url field of the Details objects so it points to the right URL. It also fixes other fields that weren't being set if though we had the information to do so. It al...

X Description: This PR fixes the country_flag_url field of the Details objects so it points to the right URL. It also fixes other fields that weren't being set if though we had the information to do so. I...

Opengraph URL: https://github.com/ipinfo/python/pull/112

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:a21bc55b-9369-2cfa-2e00-844f4783c862
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9FC0:18498B:43DD20:5E3055:6978B5EF
html-safe-nonce8b8ea819d86e3b283d936bcccdf54652325ee0772c379d3901f375e474ce5c6a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkMwOjE4NDk4Qjo0M0REMjA6NUUzMDU1OjY5NzhCNUVGIiwidmlzaXRvcl9pZCI6IjcwODM5ODEyMDQyMjY2MTg4NjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac21453c187997f051a32f9644e73bb6226743a116ec3fae6a94162f7250d86555
hovercard-subject-tagpull_request:2815789267
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/ipinfo/python/pull/112/files
twitter:imagehttps://avatars.githubusercontent.com/u/3314350?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3314350?s=400&v=4
og:image:altThis PR fixes the country_flag_url field of the Details objects so it points to the right URL. It also fixes other fields that weren't being set if though we had the information to do so. It al...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/ipinfo/python git https://github.com/ipinfo/python.git
octolytics-dimension-user_id15721521
octolytics-dimension-user_loginipinfo
octolytics-dimension-repository_id145909218
octolytics-dimension-repository_nwoipinfo/python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id145909218
octolytics-dimension-repository_network_root_nwoipinfo/python
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
releasef8aa86d87c47054170094daaf9699b27a28a8448
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fipinfo%2Fpython%2Fpull%2F112%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fipinfo%2Fpython%2Fpull%2F112%2Ffiles
Sign up https://patch-diff.githubusercontent.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=ipinfo%2Fpython
Reloadhttps://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files
Reloadhttps://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files
Reloadhttps://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files
ipinfo https://patch-diff.githubusercontent.com/ipinfo
pythonhttps://patch-diff.githubusercontent.com/ipinfo/python
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fipinfo%2Fpython
Fork 118 https://patch-diff.githubusercontent.com/login?return_to=%2Fipinfo%2Fpython
Star 543 https://patch-diff.githubusercontent.com/login?return_to=%2Fipinfo%2Fpython
Code https://patch-diff.githubusercontent.com/ipinfo/python
Issues 2 https://patch-diff.githubusercontent.com/ipinfo/python/issues
Pull requests 6 https://patch-diff.githubusercontent.com/ipinfo/python/pulls
Actions https://patch-diff.githubusercontent.com/ipinfo/python/actions
Projects 0 https://patch-diff.githubusercontent.com/ipinfo/python/projects
Security 0 https://patch-diff.githubusercontent.com/ipinfo/python/security
Insights https://patch-diff.githubusercontent.com/ipinfo/python/pulse
Code https://patch-diff.githubusercontent.com/ipinfo/python
Issues https://patch-diff.githubusercontent.com/ipinfo/python/issues
Pull requests https://patch-diff.githubusercontent.com/ipinfo/python/pulls
Actions https://patch-diff.githubusercontent.com/ipinfo/python/actions
Projects https://patch-diff.githubusercontent.com/ipinfo/python/projects
Security https://patch-diff.githubusercontent.com/ipinfo/python/security
Insights https://patch-diff.githubusercontent.com/ipinfo/python/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fipinfo%2Fpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fipinfo%2Fpython%2Fissues%2Fnew%2Fchoose
silvanocerzahttps://patch-diff.githubusercontent.com/silvanocerza
masterhttps://patch-diff.githubusercontent.com/ipinfo/python/tree/master
silvano/st-1613-ticket-no-268595-null-and-404-values-for-lite-api-response-whttps://patch-diff.githubusercontent.com/ipinfo/python/tree/silvano/st-1613-ticket-no-268595-null-and-404-values-for-lite-api-response-w
Conversation 2 https://patch-diff.githubusercontent.com/ipinfo/python/pull/112
Commits 2 https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/commits
Checks 5 https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/checks
Files changed https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files
Please reload this pagehttps://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files
Fix Lite API Details response object https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#top
Show all changes 2 commits https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files
36a1659 Fix Lite API details fields not being set correctly silvanocerza Sep 10, 2025 https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/commits/36a1659b82b9f59ffc990dd6fd6b90c5eca4e484
d5aa1cd Fix location tests so they fail less often silvanocerza Sep 10, 2025 https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/commits/d5aa1cdbe54a7cf2d7fe3de1212b55bf50eb18a1
Clear filters https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files
Please reload this pagehttps://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files
Please reload this pagehttps://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files
handler_utils.py https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-d091b5d42cc57d98f2cd7e221011387b0534d56060dd0061e6f840a511373898
handler_async_test.py https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-bf378d8761c22989a318771cf433e4d162ff7a4cb8ceb887aada96e9cceff753
handler_lite_async_test.py https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-8231f432f271ca8b31cd7e877e6275a91509b6e413c614ff676630f43f691ae8
handler_lite_test.py https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-0fffb0682ba4a97a231a2c512b0ebba74f18d752f49b9aa2e9f6b5084dbd1114
handler_test.py https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-984edb7b3cd04d4400ad028efa4c9ccea1a9127cb2dfd9b25b3eb4f425a6818d
ipinfo/handler_utils.pyhttps://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-d091b5d42cc57d98f2cd7e221011387b0534d56060dd0061e6f840a511373898
View file https://patch-diff.githubusercontent.com/ipinfo/python/blob/d5aa1cdbe54a7cf2d7fe3de1212b55bf50eb18a1/ipinfo/handler_utils.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-d091b5d42cc57d98f2cd7e221011387b0534d56060dd0061e6f840a511373898
https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-d091b5d42cc57d98f2cd7e221011387b0534d56060dd0061e6f840a511373898
https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-d091b5d42cc57d98f2cd7e221011387b0534d56060dd0061e6f840a511373898
https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-d091b5d42cc57d98f2cd7e221011387b0534d56060dd0061e6f840a511373898
tests/handler_async_test.pyhttps://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-bf378d8761c22989a318771cf433e4d162ff7a4cb8ceb887aada96e9cceff753
View file https://patch-diff.githubusercontent.com/ipinfo/python/blob/d5aa1cdbe54a7cf2d7fe3de1212b55bf50eb18a1/tests/handler_async_test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-bf378d8761c22989a318771cf433e4d162ff7a4cb8ceb887aada96e9cceff753
https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-bf378d8761c22989a318771cf433e4d162ff7a4cb8ceb887aada96e9cceff753
tests/handler_lite_async_test.pyhttps://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-8231f432f271ca8b31cd7e877e6275a91509b6e413c614ff676630f43f691ae8
View file https://patch-diff.githubusercontent.com/ipinfo/python/blob/d5aa1cdbe54a7cf2d7fe3de1212b55bf50eb18a1/tests/handler_lite_async_test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-8231f432f271ca8b31cd7e877e6275a91509b6e413c614ff676630f43f691ae8
https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-8231f432f271ca8b31cd7e877e6275a91509b6e413c614ff676630f43f691ae8
https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-8231f432f271ca8b31cd7e877e6275a91509b6e413c614ff676630f43f691ae8
tests/handler_lite_test.pyhttps://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-0fffb0682ba4a97a231a2c512b0ebba74f18d752f49b9aa2e9f6b5084dbd1114
View file https://patch-diff.githubusercontent.com/ipinfo/python/blob/d5aa1cdbe54a7cf2d7fe3de1212b55bf50eb18a1/tests/handler_lite_test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-0fffb0682ba4a97a231a2c512b0ebba74f18d752f49b9aa2e9f6b5084dbd1114
https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-0fffb0682ba4a97a231a2c512b0ebba74f18d752f49b9aa2e9f6b5084dbd1114
https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-0fffb0682ba4a97a231a2c512b0ebba74f18d752f49b9aa2e9f6b5084dbd1114
tests/handler_test.pyhttps://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-984edb7b3cd04d4400ad028efa4c9ccea1a9127cb2dfd9b25b3eb4f425a6818d
View file https://patch-diff.githubusercontent.com/ipinfo/python/blob/d5aa1cdbe54a7cf2d7fe3de1212b55bf50eb18a1/tests/handler_test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-984edb7b3cd04d4400ad028efa4c9ccea1a9127cb2dfd9b25b3eb4f425a6818d
https://patch-diff.githubusercontent.com/ipinfo/python/pull/112/files#diff-984edb7b3cd04d4400ad028efa4c9ccea1a9127cb2dfd9b25b3eb4f425a6818d
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

Viewport: width=device-width


URLs of crawlers that visited me.