I am using Akka HTTP 10.0.15. Each response contains the header Server: akka-http/10.0.15
. Is there any way to drop this header? I couldn't find anything in the list of directives.
Linked Questions
- Akka-http uri scheme when behind reverse proxy
- Akka Http Segment in the route path is not working as expected
- (Akka-HTTP) How to specify a custom reason?
- Akka http client - post an form data array
- Akka http - SSE - Not receiving streaming Json response
- Akka http redirect but change method from POST to GET
- akka-http how to send response as html
- Akka HTTP doesn't render collection when using custom ToEntityMarshaller
- Akka HTTP does not handle ValidationRejections, instead throws require java.lang.IllegalArgumentException: requirement failed
- akka-http 'Directive0' to force the inner route be evaluated separately for each request?
- Akka-http custom 404 page
- New to akka-http
- Outgoing connection stream closed
- Error running akka-http-microservice Activator template
- What are the components of a unmarshaller that can unmarshal a http entity to a Map[String, AnyRef]
Popular Questions
- Partially applied generic function "cannot be cast to Nothing"
- Peek and Pop not an option
- Run JIRA in port 80 as root
- Agar.io style ripple effect for canvas arcs
- What is the difference between [ValidateModel] and a check of valid state in ASP.NET?
- Passing shared_ptr to std::function (member function)
- UWP location tracking even when the app was suspended
- Docker – fix service IP addresses
- Dynamic partition in hive
- How to enable Indications on Client Configuration descriptor from iOS8
Drop Header in Akka HTTP response
Asked by Neelesh Sambhajiche At1 Answers
Related Questions
- How to use .withoutSizeLimit in Akka-http (client) HttpRequest?
- How to configure a single akka-http GET to not retry
- How to provide a custom Deserializer for akka-http query parameters?
- Option result in akka-http
- How to render partial responses with Akka HTTP
- Client POST of indeterminate length to a server
- POST param validation in Akka HTTP
- How to handle Akka HTTP client response failure
- How to ignore request body and redirect request using akka-http
- String interpolation in logRequest and logResult in akka-http
- How to customize Akka Http Client execution context
- Detected java.lang.NoSuchMethodError error, which MAY be caused by incompatible Akka versions on the classpath.
- HTTP Post Request gives Exception - Aborting tcp connection to host because of upstream failure
- Superpool vs CahedConnectionPool in akka
- AKKA HTTP PathMatcher simplify
In your
application.conf
, setakka.http.server.server-header
to the empty string:From the reference configuration: