In an httpHandler extension, I need to set the access-control-allow-headers header. This is to allow for X-Requested-With. The simplest way would be for Jetbrains to add it to org.jetbrains.io.NettyUtil#addHttpServerCodec.
However, given that they haven't, I'm looking for a way to add a handler to the pipeline before the preflight checks in io.netty.handler.codec.http.cors.CorsHandler#channelRead kick in. It doesn't seem to be possible.
Is it possible to add extension points in a future version such that I can create a io.netty.handler.codec.http.cors.CorsConfig, or add a handler by default or something?