-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inject arbitrary HTTP headers #258
Comments
Good idea! And this would be a reason to develop an app (and I'd very much like to have this feature in Cloudflare). But after reading through the documentation I doubt if this is possible. Adding custom HTTP headers requires the app to run before the page loads, which doesn't seem to be possible given the features outline in the docs. It also contradicts the definition of what a Cloudflare App is:
Source (bold added). To add HTTP headers to request, at the minimum the app needs to do:
I of course hope I'm mistaken, but none of these things seem possible (at this point). |
Thank you very much for this Good Idea. Its really easy to understand language you have used here. Lot of information for the beginners. This will help me a lot for HTTP header on my website. All the Best |
This is now possible with Cloudflare Workers. https://www.cloudflare.com/products/cloudflare-workers/ |
One specific example is an
origin-trial
header, as used by Chrome.The text was updated successfully, but these errors were encountered: