René's URL Explorer Experiment


Title: feat(http): Introduction of the `fetch` Backend for the `HttpClient` by JeanMeche · Pull Request #50247 · angular/angular · GitHub

Open Graph Title: feat(http): Introduction of the `fetch` Backend for the `HttpClient` by JeanMeche · Pull Request #50247 · angular/angular

X Title: feat(http): Introduction of the `fetch` Backend for the `HttpClient` by JeanMeche · Pull Request #50247 · angular/angular

Description: This commit introduces a new HttpBackend implentation which makes requests using the fetch API This feature is a developer preview and is opt-in. It is enabled by setting the providers with provideHttpClient(withFetch()). Currently the report progress is not implemented and using reportProgress: true will throw an error. NB: The fetch API is experimental on Node but available without flags from Node 18 onwards. NB2: The tests provided in the PR won't run, as fetch is not available on the node version provided by the bazel workspace (16.14) Edit: pinning a answer I gave bellow on the purpose of this new backend: Xhr is not supported natively on NodeJS an requires a polyfill. Currently Angular uses xhr2 for this. However, the polyfill is side-effectful and doesn't work in non-Node.js environments (such as Edge Workers). There are also others issues like #46930 (its doesn't support Gzip). PR Type What kind of change does this PR introduce? Feature Does this PR introduce a breaking change? No Closes #27689

Open Graph Description: This commit introduces a new HttpBackend implentation which makes requests using the fetch API This feature is a developer preview and is opt-in. It is enabled by setting the providers with provide...

X Description: This commit introduces a new HttpBackend implentation which makes requests using the fetch API This feature is a developer preview and is opt-in. It is enabled by setting the providers with provide...

Opengraph URL: https://github.com/angular/angular/pull/50247

X: @github

direct link

Domain: 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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b204ebe2-9897-7fdf-8f71-283bb6b491fd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAB2C:6DC60:112EDE1:1595AB1:6B014E08
html-safe-nonce84492b7f1a7f2f2d94c6dd5fc3d15da56676af1ae5dc84694f26b604c2ae4e85
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjJDOjZEQzYwOjExMkVERTE6MTU5NUFCMTo2QjAxNEUwOCIsInZpc2l0b3JfaWQiOiI4NjY5NzcwODMzMTY3NzMyMjMyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac21e20a65c74bdd366a28b8453366570d19796a39141fc8951123e2849b719c31
hovercard-subject-tagpull_request:1346495398
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/angular/angular/pull/50247/files
twitter:imagehttps://avatars.githubusercontent.com/u/1300985?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1300985?s=400&v=4
og:image:altThis commit introduces a new HttpBackend implentation which makes requests using the fetch API This feature is a developer preview and is opt-in. It is enabled by setting the providers with provide...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular/pull/50247/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F50247%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%2Fangular%2Fangular%2Fpull%2F50247%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=angular%2Fangular
Reloadhttps://github.com/angular/angular/pull/50247/files
Reloadhttps://github.com/angular/angular/pull/50247/files
Reloadhttps://github.com/angular/angular/pull/50247/files
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues836 (836)https://github.com/angular/angular/issues
Pull requests141 (141)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fangular%2Fangular%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fangular%2Fangular%2Fissues%2Fnew%2Fchoose
JeanMechehttps://github.com/JeanMeche
angular:mainhttps://github.com/angular/angular/tree/main
JeanMeche:feat/fetch-backendhttps://github.com/JeanMeche/angular/tree/feat/fetch-backend
Conversation 133 https://github.com/angular/angular/pull/50247
Commits 3 https://github.com/angular/angular/pull/50247/commits
Checks 0 https://github.com/angular/angular/pull/50247/checks
Files changed https://github.com/angular/angular/pull/50247/files
Please reload this pagehttps://github.com/angular/angular/pull/50247/files
feat(http): Introduction of the fetch Backend for the HttpClient https://github.com/angular/angular/pull/50247/files#top
Show all changes 3 commits https://github.com/angular/angular/pull/50247/files
a2ff05b build: run `//packages/common/http/test` on Node.js 18 alan-agius4 May 15, 2023 https://github.com/angular/angular/pull/50247/commits/a2ff05bc91869299dd0018a003f80e79da77a290
d24306c feat(http): Introduction of the `fetch` Backend for the `HttpClient` JeanMeche May 9, 2023 https://github.com/angular/angular/pull/50247/commits/d24306c7d369a8594ca89374b8a880138050b372
b04fb9c fixup! feat(http): Introduction of the `fetch` Backend for the `HttpC… AndrewKushnir Jun 7, 2023 https://github.com/angular/angular/pull/50247/commits/b04fb9c7ea7142e3ffe34c303ffb154bbaf1ad6b
Clear filters https://github.com/angular/angular/pull/50247/files
Please reload this pagehttps://github.com/angular/angular/pull/50247/files
Please reload this pagehttps://github.com/angular/angular/pull/50247/files
WORKSPACE https://github.com/angular/angular/pull/50247/files#diff-5493ff8e9397811510e780de47c57abb70137f1afe85d1519130dc3679d60ce5
index.md https://github.com/angular/angular/pull/50247/files#diff-82e535ffc37b43eca5a8a5c5720cce0f37246fd708dd50ad90ab1c70ac58d87b
public_api.ts https://github.com/angular/angular/pull/50247/files#diff-7d2e99c017c0ff911da77dbd865cda37d13473a12ff7aaccf8e2defd2446a967
fetch.ts https://github.com/angular/angular/pull/50247/files#diff-807923e5490f5a82b856306fbf45d50b27015fb54def49080f499279ec42131f
headers.ts https://github.com/angular/angular/pull/50247/files#diff-c3b40cec0229ca30d99c3e73358744c4340f3bf5ce9ab4a882cf2b6e563637fd
provider.ts https://github.com/angular/angular/pull/50247/files#diff-420f602453fb6113c5b5e1c62eff631aaabe37cf884726749e5b278a9a397354
request.ts https://github.com/angular/angular/pull/50247/files#diff-0f0a8ed9bdb167dad61f55679f34cdc85fca848dfe084b21def04d27ccac3a95
response.ts https://github.com/angular/angular/pull/50247/files#diff-93457ce7207c2b292c676233964cf4f24a93a3ad17a6c7988e5dee1620dcb7a6
BUILD.bazel https://github.com/angular/angular/pull/50247/files#diff-aa21ebebb428b315e7670d4dee5d6bebe5438d37d14b98779e92dd15d0c7eedc
fetch_spec.ts https://github.com/angular/angular/pull/50247/files#diff-b960194ebbfd15d7c4600bec62d16fd94cd593f90ea6043b5645a8bf3810b452
WORKSPACEhttps://github.com/angular/angular/pull/50247/files#diff-5493ff8e9397811510e780de47c57abb70137f1afe85d1519130dc3679d60ce5
View file https://github.com/JeanMeche/angular/blob/b04fb9c7ea7142e3ffe34c303ffb154bbaf1ad6b/WORKSPACE
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/50247/{{ revealButtonHref }}
https://github.com/angular/angular/pull/50247/files#diff-5493ff8e9397811510e780de47c57abb70137f1afe85d1519130dc3679d60ce5
https://github.com/angular/angular/pull/50247/files#diff-5493ff8e9397811510e780de47c57abb70137f1afe85d1519130dc3679d60ce5
goldens/public-api/common/http/index.mdhttps://github.com/angular/angular/pull/50247/files#diff-82e535ffc37b43eca5a8a5c5720cce0f37246fd708dd50ad90ab1c70ac58d87b
View file https://github.com/JeanMeche/angular/blob/b04fb9c7ea7142e3ffe34c303ffb154bbaf1ad6b/goldens/public-api/common/http/index.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/50247/{{ revealButtonHref }}
https://github.com/angular/angular/pull/50247/files#diff-82e535ffc37b43eca5a8a5c5720cce0f37246fd708dd50ad90ab1c70ac58d87b
https://github.com/angular/angular/pull/50247/files#diff-82e535ffc37b43eca5a8a5c5720cce0f37246fd708dd50ad90ab1c70ac58d87b
https://github.com/angular/angular/pull/50247/files#diff-82e535ffc37b43eca5a8a5c5720cce0f37246fd708dd50ad90ab1c70ac58d87b
https://github.com/angular/angular/pull/50247/files#diff-82e535ffc37b43eca5a8a5c5720cce0f37246fd708dd50ad90ab1c70ac58d87b
https://github.com/angular/angular/pull/50247/files#diff-82e535ffc37b43eca5a8a5c5720cce0f37246fd708dd50ad90ab1c70ac58d87b
https://github.com/angular/angular/pull/50247/files#diff-82e535ffc37b43eca5a8a5c5720cce0f37246fd708dd50ad90ab1c70ac58d87b
https://github.com/angular/angular/pull/50247/files#diff-82e535ffc37b43eca5a8a5c5720cce0f37246fd708dd50ad90ab1c70ac58d87b
https://github.com/angular/angular/pull/50247/files#diff-82e535ffc37b43eca5a8a5c5720cce0f37246fd708dd50ad90ab1c70ac58d87b
packages/common/http/public_api.tshttps://github.com/angular/angular/pull/50247/files#diff-7d2e99c017c0ff911da77dbd865cda37d13473a12ff7aaccf8e2defd2446a967
View file https://github.com/JeanMeche/angular/blob/b04fb9c7ea7142e3ffe34c303ffb154bbaf1ad6b/packages/common/http/public_api.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/50247/{{ revealButtonHref }}
https://github.com/angular/angular/pull/50247/files#diff-7d2e99c017c0ff911da77dbd865cda37d13473a12ff7aaccf8e2defd2446a967
https://github.com/angular/angular/pull/50247/files#diff-7d2e99c017c0ff911da77dbd865cda37d13473a12ff7aaccf8e2defd2446a967
packages/common/http/src/fetch.tshttps://github.com/angular/angular/pull/50247/files#diff-807923e5490f5a82b856306fbf45d50b27015fb54def49080f499279ec42131f
View file https://github.com/JeanMeche/angular/blob/b04fb9c7ea7142e3ffe34c303ffb154bbaf1ad6b/packages/common/http/src/fetch.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/50247/{{ revealButtonHref }}
Please reload this pagehttps://github.com/angular/angular/pull/50247/files
Please reload this pagehttps://github.com/angular/angular/pull/50247/files
Please reload this pagehttps://github.com/angular/angular/pull/50247/files
Please reload this pagehttps://github.com/angular/angular/pull/50247/files
Please reload this pagehttps://github.com/angular/angular/pull/50247/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

Viewport: width=device-width


URLs of crawlers that visited me.