René's URL Explorer Experiment


Title: Introduce a function to create a standard AsyncClient with options by ihrpr · Pull Request #655 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Introduce a function to create a standard AsyncClient with options by ihrpr · Pull Request #655 · modelcontextprotocol/python-sdk

X Title: Introduce a function to create a standard AsyncClient with options by ihrpr · Pull Request #655 · modelcontextprotocol/python-sdk

Description: Request as a follow up for a few PRs now, for example #284 and Streamable Http PRs Created create_mcp_http_client() that: Enforces follow_redirects=True by default (consistent with existing usage)

Open Graph Description: Request as a follow up for a few PRs now, for example #284 and Streamable Http PRs Created create_mcp_http_client() that: Enforces follow_redirects=True by default (consistent with existing usage)

X Description: Request as a follow up for a few PRs now, for example #284 and Streamable Http PRs Created create_mcp_http_client() that: Enforces follow_redirects=True by default (consistent with existing usage)

Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/655

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:334d70dd-5a49-37b9-3312-efb9c846498e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE56A:276341:DF4594:12BE2B5:6A5BA34A
html-safe-noncea4b094e82bd5336efc42ea175088353811003bd20821b50111b81fd3bf9bed5f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTZBOjI3NjM0MTpERjQ1OTQ6MTJCRTJCNTo2QTVCQTM0QSIsInZpc2l0b3JfaWQiOiIxNjcwODU2Njg0OTcyMjU0MDI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca952b6f2fe5652e7611229e31423253106774bb1cda5ff040af942dd2966fddf
hovercard-subject-tagpull_request:2505641189
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/modelcontextprotocol/python-sdk/pull/655/files
twitter:imagehttps://avatars.githubusercontent.com/u/21148364?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/21148364?s=400&v=4
og:image:altRequest as a follow up for a few PRs now, for example #284 and Streamable Http PRs Created create_mcp_http_client() that: Enforces follow_redirects=True by default (consistent with existing usage)
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862584018
octolytics-dimension-repository_nwomodelcontextprotocol/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id862584018
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/python-sdk
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/655/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F655%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F655%2Ffiles
Sign up https://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=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/655/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/655/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/655/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/655/files
modelcontextprotocol https://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Fork 3.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Star 23.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 259 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 306 https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality 6 https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Code https://github.com/modelcontextprotocol/python-sdk
Issues https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
ihrprhttps://github.com/ihrpr
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
ihrpr/http-clienthttps://github.com/modelcontextprotocol/python-sdk/tree/ihrpr/http-client
Conversation 7 https://github.com/modelcontextprotocol/python-sdk/pull/655
Commits 5 https://github.com/modelcontextprotocol/python-sdk/pull/655/commits
Checks 0 https://github.com/modelcontextprotocol/python-sdk/pull/655/checks
Files changed https://github.com/modelcontextprotocol/python-sdk/pull/655/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/655/files
Introduce a function to create a standard AsyncClient with options https://github.com/modelcontextprotocol/python-sdk/pull/655/files#top
Show all changes 5 commits https://github.com/modelcontextprotocol/python-sdk/pull/655/files
1b5fcdc introduce a function to create a stnadard AsyncClient with options ihrpr May 7, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/655/commits/1b5fcdc1f22b5a6f2e46ea1c81a62c6d5615d48e
56d811e clean up ihrpr May 7, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/655/commits/56d811e73c017ea9a7863cd7f2f621a688167bcd
1456b89 simplifying ihrpr May 8, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/655/commits/1456b89335b0a6d2c03372bfbd56544a9cd8f65e
79cb413 update headers to dict[str, str] ihrpr May 8, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/655/commits/79cb4139011e5387a1b664445e690307f606f8df
3a1359f make http_utils private -- at least name ihrpr May 8, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/655/commits/3a1359f48190127d5b52e1fa04bc443fe5393146
Clear filters https://github.com/modelcontextprotocol/python-sdk/pull/655/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/655/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/655/files
server.py https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-d6f6fc5668f272edf1a3182b22b034f75510b1902067b23b39cd07c278b1aed5
server.py https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-ba52c682d4e3fbfa81efb481c7df117341f6502fcf7b99f0722448f0ffbfb9bd
sse.py https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
streamable_http.py https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
_httpx_utils.py https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-c4baff3567caa38efcdfd8b6a554abe19fcf6429c80e6e693ed1a847a7aec431
test_httpx_utils.py https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-b0498e819959a6703b5a7ae1a5d5738d0779b500589c6fd4eca497bfa0fe32bb
examples/servers/simple-auth/mcp_simple_auth/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-d6f6fc5668f272edf1a3182b22b034f75510b1902067b23b39cd07c278b1aed5
View file https://github.com/modelcontextprotocol/python-sdk/blob/3a1359f48190127d5b52e1fa04bc443fe5393146/examples/servers/simple-auth/mcp_simple_auth/server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/655/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-d6f6fc5668f272edf1a3182b22b034f75510b1902067b23b39cd07c278b1aed5
https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-d6f6fc5668f272edf1a3182b22b034f75510b1902067b23b39cd07c278b1aed5
https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-d6f6fc5668f272edf1a3182b22b034f75510b1902067b23b39cd07c278b1aed5
https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-d6f6fc5668f272edf1a3182b22b034f75510b1902067b23b39cd07c278b1aed5
https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-d6f6fc5668f272edf1a3182b22b034f75510b1902067b23b39cd07c278b1aed5
https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-d6f6fc5668f272edf1a3182b22b034f75510b1902067b23b39cd07c278b1aed5
https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-d6f6fc5668f272edf1a3182b22b034f75510b1902067b23b39cd07c278b1aed5
examples/servers/simple-tool/mcp_simple_tool/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-ba52c682d4e3fbfa81efb481c7df117341f6502fcf7b99f0722448f0ffbfb9bd
View file https://github.com/modelcontextprotocol/python-sdk/blob/3a1359f48190127d5b52e1fa04bc443fe5393146/examples/servers/simple-tool/mcp_simple_tool/server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/655/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-ba52c682d4e3fbfa81efb481c7df117341f6502fcf7b99f0722448f0ffbfb9bd
https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-ba52c682d4e3fbfa81efb481c7df117341f6502fcf7b99f0722448f0ffbfb9bd
src/mcp/client/sse.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
View file https://github.com/modelcontextprotocol/python-sdk/blob/3a1359f48190127d5b52e1fa04bc443fe5393146/src/mcp/client/sse.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/655/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
src/mcp/client/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
View file https://github.com/modelcontextprotocol/python-sdk/blob/3a1359f48190127d5b52e1fa04bc443fe5393146/src/mcp/client/streamable_http.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/655/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
https://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
src/mcp/shared/_httpx_utils.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-c4baff3567caa38efcdfd8b6a554abe19fcf6429c80e6e693ed1a847a7aec431
View file https://github.com/modelcontextprotocol/python-sdk/blob/3a1359f48190127d5b52e1fa04bc443fe5393146/src/mcp/shared/_httpx_utils.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/655/{{ revealButtonHref }}
tests/shared/test_httpx_utils.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/655/files#diff-b0498e819959a6703b5a7ae1a5d5738d0779b500589c6fd4eca497bfa0fe32bb
View file https://github.com/modelcontextprotocol/python-sdk/blob/3a1359f48190127d5b52e1fa04bc443fe5393146/tests/shared/test_httpx_utils.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/655/{{ revealButtonHref }}
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.