René's URL Explorer Experiment


Title: fix: Handle octet-stream content media type as binary format by gudjonragnar · Pull Request #1418 · openapi-generators/openapi-python-client · GitHub

Open Graph Title: fix: Handle octet-stream content media type as binary format by gudjonragnar · Pull Request #1418 · openapi-generators/openapi-python-client

X Title: fix: Handle octet-stream content media type as binary format by gudjonragnar · Pull Request #1418 · openapi-generators/openapi-python-client

Description: Fastapi fixed their spec generator to output contentMediaType: application/octet-stream instead of format: binary. This results in a changed behaviour for the generated client when it comes to file uploads going from taking a File object to taking a string. This patch should fix that.

Open Graph Description: Fastapi fixed their spec generator to output contentMediaType: application/octet-stream instead of format: binary. This results in a changed behaviour for the generated client when it comes to file...

X Description: Fastapi fixed their spec generator to output contentMediaType: application/octet-stream instead of format: binary. This results in a changed behaviour for the generated client when it comes to file...

Opengraph URL: https://github.com/openapi-generators/openapi-python-client/pull/1418

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3

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:b496482a-91b0-a7ff-e36c-c8726de8faf6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9096:D500:16D0FD6:1E272A6:6B031AE2
html-safe-nonce8afe77ecc23517ec1b04eb481b64ed107f8bae2a4585759087b2906c16fe92f4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDk2OkQ1MDA6MTZEMEZENjoxRTI3MkE2OjZCMDMxQUUyIiwidmlzaXRvcl9pZCI6IjE5Njc3OTg3NzUyMjk2NTE2ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac45265dcb33a0ea021a1a2c0bde5b703de42f6788cc1ac85348a9fadf1af44fb8
hovercard-subject-tagpull_request:3497181139
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/openapi-generators/openapi-python-client/pull/1418/files
twitter:imagehttps://avatars.githubusercontent.com/u/10629275?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/10629275?s=400&v=4
og:image:altFastapi fixed their spec generator to output contentMediaType: application/octet-stream instead of format: binary. This results in a changed behaviour for the generated client when it comes to file...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/openapi-generators/openapi-python-client git https://github.com/openapi-generators/openapi-python-client.git
octolytics-dimension-user_id84925606
octolytics-dimension-user_loginopenapi-generators
octolytics-dimension-repository_id240776275
octolytics-dimension-repository_nwoopenapi-generators/openapi-python-client
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id240776275
octolytics-dimension-repository_network_root_nwoopenapi-generators/openapi-python-client
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/openapi-generators/openapi-python-client/pull/1418/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenapi-generators%2Fopenapi-python-client%2Fpull%2F1418%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%2Fopenapi-generators%2Fopenapi-python-client%2Fpull%2F1418%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=openapi-generators%2Fopenapi-python-client
Reloadhttps://github.com/openapi-generators/openapi-python-client/pull/1418/files
Reloadhttps://github.com/openapi-generators/openapi-python-client/pull/1418/files
Reloadhttps://github.com/openapi-generators/openapi-python-client/pull/1418/files
openapi-generatorshttps://github.com/openapi-generators
openapi-python-clienthttps://github.com/openapi-generators/openapi-python-client
Codehttps://github.com/openapi-generators/openapi-python-client
Issues94 (94)https://github.com/openapi-generators/openapi-python-client/issues
Pull requests36 (36)https://github.com/openapi-generators/openapi-python-client/pulls
Discussionshttps://github.com/openapi-generators/openapi-python-client/discussions
Actionshttps://github.com/openapi-generators/openapi-python-client/actions
Security and quality4 (4)https://github.com/openapi-generators/openapi-python-client/security
Insightshttps://github.com/openapi-generators/openapi-python-client/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fopenapi-generators%2Fopenapi-python-client%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fopenapi-generators%2Fopenapi-python-client%2Fissues%2Fnew%2Fchoose
gudjonragnarhttps://github.com/gudjonragnar
openapi-generators:mainhttps://github.com/openapi-generators/openapi-python-client/tree/main
gudjonragnar:mainhttps://github.com/gudjonragnar/openapi-python-client/tree/main
Conversation 5 https://github.com/openapi-generators/openapi-python-client/pull/1418
Commits 2 https://github.com/openapi-generators/openapi-python-client/pull/1418/commits
Checks 1 https://github.com/openapi-generators/openapi-python-client/pull/1418/checks
Files changed https://github.com/openapi-generators/openapi-python-client/pull/1418/files
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1418/files
fix: Handle octet-stream content media type as binary format https://github.com/openapi-generators/openapi-python-client/pull/1418/files#top
Show all changes 2 commits https://github.com/openapi-generators/openapi-python-client/pull/1418/files
de4249b Handle octet-stream content media type as binary format gudjonragnar Apr 7, 2026 https://github.com/openapi-generators/openapi-python-client/pull/1418/commits/de4249b9fb6e5fa3c3039876c86ccf39a6d151d2
fe2ed57 Merge branch 'openapi-generators:main' into main gudjonragnar Jun 11, 2026 https://github.com/openapi-generators/openapi-python-client/pull/1418/commits/fe2ed5750e14a3a796cad2d9b9969993d5540e44
Clear filters https://github.com/openapi-generators/openapi-python-client/pull/1418/files
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1418/files
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1418/files
__init__.py https://github.com/openapi-generators/openapi-python-client/pull/1418/files#diff-61e8ac1a0d02be37f61e720be24f89c399fc6325938adfe140017e45198dc241
schema.py https://github.com/openapi-generators/openapi-python-client/pull/1418/files#diff-e0d3d9a96060362c9af6bab0fa7e9ae946e0f34de338aebc90d78e07a309cd57
test_init.py https://github.com/openapi-generators/openapi-python-client/pull/1418/files#diff-93e7900739ea0ba02a4039d5b1c59d85a32c4113d86118db3b334f07b974f891
openapi_python_client/parser/properties/__init__.pyhttps://github.com/openapi-generators/openapi-python-client/pull/1418/files#diff-61e8ac1a0d02be37f61e720be24f89c399fc6325938adfe140017e45198dc241
View file https://github.com/openapi-generators/openapi-python-client/blob/fe2ed5750e14a3a796cad2d9b9969993d5540e44/openapi_python_client/parser/properties/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openapi-generators/openapi-python-client/pull/1418/{{ revealButtonHref }}
https://github.com/openapi-generators/openapi-python-client/pull/1418/files#diff-61e8ac1a0d02be37f61e720be24f89c399fc6325938adfe140017e45198dc241
https://github.com/openapi-generators/openapi-python-client/pull/1418/files#diff-61e8ac1a0d02be37f61e720be24f89c399fc6325938adfe140017e45198dc241
openapi_python_client/schema/openapi_schema_pydantic/schema.pyhttps://github.com/openapi-generators/openapi-python-client/pull/1418/files#diff-e0d3d9a96060362c9af6bab0fa7e9ae946e0f34de338aebc90d78e07a309cd57
View file https://github.com/openapi-generators/openapi-python-client/blob/fe2ed5750e14a3a796cad2d9b9969993d5540e44/openapi_python_client/schema/openapi_schema_pydantic/schema.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openapi-generators/openapi-python-client/pull/1418/{{ revealButtonHref }}
https://github.com/openapi-generators/openapi-python-client/pull/1418/files#diff-e0d3d9a96060362c9af6bab0fa7e9ae946e0f34de338aebc90d78e07a309cd57
https://github.com/openapi-generators/openapi-python-client/pull/1418/files#diff-e0d3d9a96060362c9af6bab0fa7e9ae946e0f34de338aebc90d78e07a309cd57
tests/test_parser/test_properties/test_init.pyhttps://github.com/openapi-generators/openapi-python-client/pull/1418/files#diff-93e7900739ea0ba02a4039d5b1c59d85a32c4113d86118db3b334f07b974f891
View file https://github.com/openapi-generators/openapi-python-client/blob/fe2ed5750e14a3a796cad2d9b9969993d5540e44/tests/test_parser/test_properties/test_init.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openapi-generators/openapi-python-client/pull/1418/{{ revealButtonHref }}
https://github.com/openapi-generators/openapi-python-client/pull/1418/files#diff-93e7900739ea0ba02a4039d5b1c59d85a32c4113d86118db3b334f07b974f891
https://github.com/openapi-generators/openapi-python-client/pull/1418/files#diff-93e7900739ea0ba02a4039d5b1c59d85a32c4113d86118db3b334f07b974f891
https://github.com/openapi-generators/openapi-python-client/pull/1418/files#diff-93e7900739ea0ba02a4039d5b1c59d85a32c4113d86118db3b334f07b974f891
https://github.com/openapi-generators/openapi-python-client/pull/1418/files#diff-93e7900739ea0ba02a4039d5b1c59d85a32c4113d86118db3b334f07b974f891
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.