OPTIONS method for resource and item endpoints.

It doesn't seem that requests with the OPTIONS method were succeeding for resource and item endpoints. This caused a problem for CORS preflight requests.