Fix bad header management for Access-Control-Request-Method / Access-Control-Allow-Methods