When interacting with an API some browsers if not any send a so called "pre-flight request" before attempting to send the actual request. This is normally not done for GET requests that are essentially read-only but with the PUT, POST, DELETE. This pre-flight request uses the OPTIONS method and if it is not handled by the server that should respond with the list of methods allowed (or any method) the actual request will fail. So this fix implements a response to OPTIONS requests allowing any method from any client. This makes the API actually usable for browser based web applications.