HTTP preflight OPTION requests come in a lot and all our system does is reply with some constant headers.
I don't want to fire up my servlet just to find out it's an OPTION request and respond immediately with the required headers.
I'm thinking there should be a way for the load-balancer to do that. Like when I used Apache as a reverse-proxy server to send requests to the Java application server, I think I could easily make it handle the OPTION requests with immediate reply (after all, that's happening on the HTTP layer).
I think it would reduce workload even for the load balancers and the AWS network if they were to spit out the canned reply every time.
Is there any way I can have the AWS load balancer do that?
