Skip to content

feat(http): add support for fetch referrerPolicy option in HttpClient#64116

Closed
SkyZeroZx wants to merge 1 commit intoangular:mainfrom
SkyZeroZx:feature/add-referrerPolicy-http
Closed

feat(http): add support for fetch referrerPolicy option in HttpClient#64116
SkyZeroZx wants to merge 1 commit intoangular:mainfrom
SkyZeroZx:feature/add-referrerPolicy-http

Conversation

@SkyZeroZx
Copy link
Copy Markdown
Contributor

Motivation

  • Controlling how much referrer information is included with requests.
  • Enabling developers to explicitly set stricter privacy and security rules.
  • Improving compliance with server policies and modern web platform defaults.

Examples of New Usage

 
http.get('/api/user-data', {
  referrerPolicy: 'strict-origin-when-cross-origin'
}).subscribe();

@pullapprove pullapprove bot requested a review from atscott September 27, 2025 22:40
@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: common/http Issues related to HTTP and HTTP Client labels Sep 27, 2025
@ngbot ngbot bot added this to the Backlog milestone Sep 27, 2025
@SkyZeroZx SkyZeroZx changed the title feat(http): Adds referrerPolicy support to HTTP client and requests feat(http): Adds referrerPolicy support to HTTP Sep 27, 2025
@SkyZeroZx SkyZeroZx force-pushed the feature/add-referrerPolicy-http branch from 0f2fa12 to 899d6e4 Compare September 27, 2025 22:44
@SkyZeroZx SkyZeroZx changed the title feat(http): Adds referrerPolicy support to HTTP feat(http): add support for fetch referrerPolicy option in HttpClient Sep 27, 2025
@pullapprove pullapprove bot requested a review from crisbeto October 4, 2025 18:46
Copy link
Copy Markdown
Member

@JeanMeche JeanMeche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed-for: public-api

@JeanMeche JeanMeche added action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release labels Oct 4, 2025
Introduces a referrer policy option for HTTP requests to allow specifying the referrer information sent, improving privacy and security controls.
@SkyZeroZx SkyZeroZx force-pushed the feature/add-referrerPolicy-http branch from 899d6e4 to a6dfa77 Compare October 6, 2025 20:50
@angular-robot angular-robot bot requested a review from JeanMeche October 6, 2025 20:50
@mmalerba
Copy link
Copy Markdown
Contributor

mmalerba commented Oct 8, 2025

This PR was merged into the repository. The changes were merged into the following branches:

@mmalerba mmalerba closed this in 5cbdefc Oct 8, 2025
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: common/http Issues related to HTTP and HTTP Client detected: feature PR contains a feature commit target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants