Add support for Referrer-Policy header #3775
Ah OK thanks!
On Fri, 6 Apr 2018, 18:16 Wyatt Preul, ***@***.***> wrote: ***@***.**** commented on this pull request. ------------------------------ In API.md <#3775 (comment)> : > @@ -3394,6 +3394,18 @@ following options: - `noSniff` - boolean controlling the 'X-Content-Type-Options' header. Defaults to `true` setting the header to its only and default option, `'nosniff'`. +- `referrer` - controls the ['Referrer-Policy'](https://www.w3.org/TR/referrer-policy/) header value: + - `false` - the 'Referrer-Policy' header will not be sent with responses. This is the default value. + - `''` - empty string indicating that the Referrer-Policy will be defined elsewhere. + - `'no-referrer'` - never include the referrer header. false doesn’t send the Referrer-Policy. no-referrer will send the RP header — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#3775 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AD1HQ5oeXqrA4lzph2wVz25q3gQBX-_Mks5tl6L7gaJpZM4TJXwH> .
-- *John Brett* Stay in touch: @johnbrett_ <https://twitter.com/johnbrett_> | linkedin.com/in/johnbrett1
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments.