Allow removing Server Header in the response headers
See original GitHub issueIs your feature request related to a problem? Please describe. Thank you for building such a great graphql server!
Sending Server header
const headers = {
Server: 'GraphQL Yoga',
};
It would be great if there is away to disable it.
Describe the solution you’d like
In configuration { disablePowerdByHeader } or maybe similar to express app.disable('x-powered-by')
Issue Analytics
- State:
- Created a year ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Remove Unwanted HTTP Response Headers
Click on the X-Powered-By header and then click Remove on the Actions Pane to remove it from the response. thumbnail image 8 of...
Read more >Remove Server Response Header IIS7 - Stack Overflow
This one has to be removed through the IIS Manager, Editor configuration on the IIS root (not on a site): go to system.webServer/proxy...
Read more >Remove/Modify IIS 10 Server Header which discloses IIS ...
4 Answers 4 · Open "Internet Information Services (IIS) Manager". · If you want to set the settings globally, click on your main...
Read more >How To Remove Server Name From Apache Response Header
How To Remove Server Name From Apache Response Header · 1. Open Apache Config File · 2. Turn Off Server Signature · 3....
Read more >Remove IIS Server version HTTP Response Header
How to remove HTTP response headers in Windows Server IIS and ASP.NET using web.config files. Stop giving hackers too much information, :-)
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
resolved in https://github.com/dotansimha/graphql-yoga/pull/1286 and released in https://github.com/dotansimha/graphql-yoga/pull/1287 Latest version no longer has that header 😃
@n1ru4l @ardatan I think we can safely remove the default header.