Details
Description
HttpServerChannelHandler tries to provide default OPTIONS responses. This is nice feature, but if the httpMethodRestrict is explicitly set to OPTIONS, we Netty should allow to override the default responses.
For example from("netty4-http:http://0.0.0.0:8080/foo?httpMethodRestrict=OPTIONS").setBody().constant("foo!") should return the foo response to the client.