René's URL Explorer Experiment


Title: fix(wsgi): Do not wrap file responses when uWSGI offload-threads is enabled by ericapisani · Pull Request #5556 · getsentry/sentry-python · GitHub

Open Graph Title: fix(wsgi): Do not wrap file responses when uWSGI offload-threads is enabled by ericapisani · Pull Request #5556 · getsentry/sentry-python

X Title: fix(wsgi): Do not wrap file responses when uWSGI offload-threads is enabled by ericapisani · Pull Request #5556 · getsentry/sentry-python

Description: The official Python SDK for Sentry.io. Contribute to getsentry/sentry-python development by creating an account on GitHub.

Open Graph Description: uWSGI uses pointer equality to detect file-like response objects eligible for its offload-threads optimization. When Sentry's WSGI middleware wraps the response in _ScopedResponse, the pointer ...

X Description: uWSGI uses pointer equality to detect file-like response objects eligible for its offload-threads optimization. When Sentry's WSGI middleware wraps the response in _ScopedResponse, the poin...

Opengraph URL: https://github.com/getsentry/sentry-python/pull/5556

X: @github

direct link

Domain: redirect.github.com

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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:9a6ceafb-74fe-ef22-411e-51b1f1c654d9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8FFC:33D24F:2FE379:3F1658:6B00D110
html-safe-nonce1ba185b2bdfa0d138f606a26d4e2fb71c839bec6e2e56da10dd01668ce226f1c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkZDOjMzRDI0RjoyRkUzNzk6M0YxNjU4OjZCMDBEMTEwIiwidmlzaXRvcl9pZCI6IjcxNzY5NTU4MzAxODc2NDMxNTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac760b6a4c0cc96ee6510f9406f1048ccf17f6b115833072bf5ac9ac5f5fb295e8
hovercard-subject-tagpull_request:3331819196
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-python/5556/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/148b0266a14abcc953c294fc0b113c5abf34bf455060aec89e8e28525ffdb956/getsentry/sentry-python/pull/5556
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/148b0266a14abcc953c294fc0b113c5abf34bf455060aec89e8e28525ffdb956/getsentry/sentry-python/pull/5556
og:image:altuWSGI uses pointer equality to detect file-like response objects eligible for its offload-threads optimization. When Sentry's WSGI middleware wraps the response in _ScopedResponse, the pointer ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameericapisani
hostnamegithub.com
expected-hostnamegithub.com
None85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id137814779
octolytics-dimension-repository_nwogetsentry/sentry-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id137814779
octolytics-dimension-repository_network_root_nwogetsentry/sentry-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4943239a6d2c591325dad6e5c313e1cafda877f6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://redirect.github.com/getsentry/sentry-python/pull/5556#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5556
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://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5556
Sign uphttps://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-python
Reloadhttps://redirect.github.com/getsentry/sentry-python/pull/5556
Reloadhttps://redirect.github.com/getsentry/sentry-python/pull/5556
Reloadhttps://redirect.github.com/getsentry/sentry-python/pull/5556
getsentryhttps://redirect.github.com/getsentry
sentry-pythonhttps://redirect.github.com/getsentry/sentry-python
Codehttps://redirect.github.com/getsentry/sentry-python
Issues345 (345)https://redirect.github.com/getsentry/sentry-python/issues
Pull requests42 (42)https://redirect.github.com/getsentry/sentry-python/pulls
Discussionshttps://redirect.github.com/getsentry/sentry-python/discussions
Actionshttps://redirect.github.com/getsentry/sentry-python/actions
Security and quality2 (2)https://redirect.github.com/getsentry/sentry-python/security
Insightshttps://redirect.github.com/getsentry/sentry-python/insights
https://redirect.github.com/getsentry/sentry-python
ericapisanihttps://redirect.github.com/ericapisani
masterhttps://redirect.github.com/getsentry/sentry-python/tree/master
py-1977-do-not-modify-file-response-when-offloading-enabledhttps://redirect.github.com/getsentry/sentry-python/tree/py-1977-do-not-modify-file-response-when-offloading-enabled
Conversationhttps://redirect.github.com/getsentry/sentry-python/pull/5556
Commits3 (3)https://redirect.github.com/getsentry/sentry-python/pull/5556/commits
Checkshttps://redirect.github.com/getsentry/sentry-python/pull/5556/checks
Files changedhttps://redirect.github.com/getsentry/sentry-python/pull/5556/files
fix(wsgi): Do not wrap file responses when uWSGI offload-threads is enabledhttps://redirect.github.com/getsentry/sentry-python/pull/5556#top
ericapisanihttps://redirect.github.com/ericapisani
masterhttps://redirect.github.com/getsentry/sentry-python/tree/master
py-1977-do-not-modify-file-response-when-offloading-enabledhttps://redirect.github.com/getsentry/sentry-python/tree/py-1977-do-not-modify-file-response-when-offloading-enabled
https://redirect.github.com/ericapisani
ericapisanihttps://redirect.github.com/ericapisani
Feb 26, 2026https://redirect.github.com/getsentry/sentry-python/pull/5556#issue-3996482782
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5556
#5107https://github.com/getsentry/sentry-python/issues/5107
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5556
https://redirect.github.com/ericapisani
https://redirect.github.com/claude
fix(wsgi): Do not wrap file responses when uWSGI offload-threads is e…https://redirect.github.com/getsentry/sentry-python/pull/5556/commits/f9f0af9a693fa2a05bb3c45121b7824e11067beb
f9f0af9https://redirect.github.com/getsentry/sentry-python/pull/5556/commits/f9f0af9a693fa2a05bb3c45121b7824e11067beb
https://redirect.github.com/apps/linear
linearhttps://redirect.github.com/apps/linear
Feb 26, 2026https://redirect.github.com/getsentry/sentry-python/pull/5556#issuecomment-3967686039
PY-1977 UWSGI offload() skipped because of _ScopedResponsehttps://linear.app/getsentry/issue/PY-1977/uwsgi-offload-skipped-because-of-scopedresponse
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5556
https://redirect.github.com/apps/github-actions
github-actionshttps://redirect.github.com/apps/github-actions
Feb 26, 2026https://redirect.github.com/getsentry/sentry-python/pull/5556#issuecomment-3967687529
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5556
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5556
https://redirect.github.com/apps/github-actions
github-actionshttps://redirect.github.com/apps/github-actions
Feb 26, 2026https://redirect.github.com/getsentry/sentry-python/pull/5556#issuecomment-3967695104
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5556
Codecov Actionhttps://github.com/getsentry/codecov-action
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5556
https://redirect.github.com/apps/github-actions
github-actionshttps://redirect.github.com/apps/github-actions
Feb 26, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5556#pullrequestreview-3862090169
View reviewed changes https://redirect.github.com/getsentry/sentry-python/pull/5556/files/f9f0af9a693fa2a05bb3c45121b7824e11067beb
sentry_sdk/integrations/wsgi.pyhttps://redirect.github.com/getsentry/sentry-python/pull/5556/files/f9f0af9a693fa2a05bb3c45121b7824e11067beb#diff-58345d076fab49fb65de62f02cd574bad2b45191a5db133eb8edf412570b2623
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5556
https://redirect.github.com/ericapisani
https://redirect.github.com/claude
style(wsgi): Add type: ignore comment to uwsgi importhttps://redirect.github.com/getsentry/sentry-python/pull/5556/commits/e1b733bd711f70138994547cbf3cdf1546a3ee1b
e1b733bhttps://redirect.github.com/getsentry/sentry-python/pull/5556/commits/e1b733bd711f70138994547cbf3cdf1546a3ee1b
ericapisanihttps://redirect.github.com/ericapisani
Feb 26, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5556#ref-commit-678c8ae
https://redirect.github.com/ericapisani
Update python-uwsgi-warning.mdxhttps://redirect.github.com/getsentry/sentry-docs/commit/678c8aecf8841170ef3bf950fe0546208dd4720d
678c8aehttps://redirect.github.com/getsentry/sentry-docs/commit/678c8aecf8841170ef3bf950fe0546208dd4720d
getsentry/sentry-python#5556https://github.com/getsentry/sentry-python/pull/5556
https://redirect.github.com/ericapisani
ericapisanihttps://redirect.github.com/ericapisani
Feb 26, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5556#ref-pullrequest-3996546513
Update python-uwsgi-warning.mdx getsentry/sentry-docs#16603 https://redirect.github.com/getsentry/sentry-docs/pull/16603
https://redirect.github.com/ericapisani
ericapisanihttps://redirect.github.com/ericapisani
February 26, 2026 16:36https://redirect.github.com/getsentry/sentry-python/pull/5556#event-23109685816
https://redirect.github.com/ericapisani
ericapisanihttps://redirect.github.com/ericapisani
code ownerhttps://redirect.github.com/getsentry/sentry-python/blob/a4e4c57f88ec9beac865518841965abdc52b3a3d/.github/CODEOWNERS#L1
February 26, 2026 16:36https://redirect.github.com/getsentry/sentry-python/pull/5556#event-23109686038
https://redirect.github.com/alexander-alderman-webb
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
Feb 26, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5556#pullrequestreview-3862378950
View reviewed changes https://redirect.github.com/getsentry/sentry-python/pull/5556/files/e1b733bd711f70138994547cbf3cdf1546a3ee1b
sentry_sdk/integrations/wsgi.pyhttps://redirect.github.com/getsentry/sentry-python/pull/5556/files/e1b733bd711f70138994547cbf3cdf1546a3ee1b#diff-58345d076fab49fb65de62f02cd574bad2b45191a5db133eb8edf412570b2623
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5556
https://redirect.github.com/ericapisani
https://redirect.github.com/claude
ref(wsgi): Simplify file response bypass to not require uWSGI offload…https://redirect.github.com/getsentry/sentry-python/pull/5556/commits/869866136a34dcd4eefc1e280b041bc43bf7bbce
8698661https://redirect.github.com/getsentry/sentry-python/pull/5556/commits/869866136a34dcd4eefc1e280b041bc43bf7bbce
https://redirect.github.com/ericapisani
ericapisanihttps://redirect.github.com/ericapisani
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
February 26, 2026 19:26https://redirect.github.com/getsentry/sentry-python/pull/5556#event-23114640729
https://redirect.github.com/alexander-alderman-webb
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
Feb 27, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5556#pullrequestreview-3865807535
View reviewed changes https://redirect.github.com/getsentry/sentry-python/pull/5556/files/869866136a34dcd4eefc1e280b041bc43bf7bbce
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
https://redirect.github.com/getsentry/sentry-python/pull/5556#pullrequestreview-3865807535
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5556
https://redirect.github.com/ericapisani
ericapisanihttps://redirect.github.com/ericapisani
c56f1f7https://redirect.github.com/getsentry/sentry-python/commit/c56f1f71f7a73d4a2a56378d8232d3ee59d3c0db
Feb 27, 2026https://github.com/getsentry/sentry-python/pull/5556#event-23135179252
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5556
https://redirect.github.com/ericapisani
ericapisanihttps://redirect.github.com/ericapisani
February 27, 2026 12:43https://redirect.github.com/getsentry/sentry-python/pull/5556#event-23135179962
https://redirect.github.com/apps/sentry-release-bot
sentry-release-bothttps://redirect.github.com/apps/sentry-release-bot
Mar 2, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5556#ref-issue-4011745618
publish: getsentry/sentry-python@2.54.0 getsentry/publish#7317 https://redirect.github.com/getsentry/publish/issues/7317
ericapisanihttps://redirect.github.com/ericapisani
Mar 2, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5556#ref-commit-1d1f4f5
https://redirect.github.com/ericapisani
Update python-uwsgi-warning.mdx (https://redirect.github.com/getsentry/sentry-docs/commit/1d1f4f570cb5a0f4b5acce87ea61e92c91ce5f73
#16603https://github.com/getsentry/sentry-docs/pull/16603
)https://redirect.github.com/getsentry/sentry-docs/commit/1d1f4f570cb5a0f4b5acce87ea61e92c91ce5f73
1d1f4f5https://redirect.github.com/getsentry/sentry-docs/commit/1d1f4f570cb5a0f4b5acce87ea61e92c91ce5f73
getsentry/sentry-python#5556https://github.com/getsentry/sentry-python/pull/5556
https://github.com/orgs/getsentry/teams/docshttps://github.com/orgs/getsentry/teams/docs
https://docs.sentry.io/contributing/https://docs.sentry.io/contributing/
https://redirect.github.com/apps/sentry-release-bot
sentry-release-bothttps://redirect.github.com/apps/sentry-release-bot
Mar 3, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5556#ref-issue-4016577017
publish: getsentry/sentry-python@2.52.0a8 getsentry/publish#7328 https://redirect.github.com/getsentry/publish/issues/7328
https://github.co/hiddenchars
https://redirect.github.com/getsentry/sentry-python/pull/{{ revealButtonHref }}
Sign up for freehttps://redirect.github.com/join?source=comment-repo
Sign in to commenthttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5556
https://redirect.github.com/apps/github-actions
github-actions[bot] https://redirect.github.com/apps/github-actions
https://redirect.github.com/getsentry/sentry-python/pull/5556/files/f9f0af9a693fa2a05bb3c45121b7824e11067beb
https://redirect.github.com/alexander-alderman-webb
alexander-alderman-webb https://redirect.github.com/alexander-alderman-webb
https://redirect.github.com/getsentry/sentry-python/pull/5556/files/869866136a34dcd4eefc1e280b041bc43bf7bbce
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5556
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5556
https://redirect.github.com/ericapisani
https://redirect.github.com/alexander-alderman-webb
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.