Hi! I using token auhorization and edit headers for requests via jQuery($.ajaxSetup/beforeSend). All requests which i send manually are fine, but default sent OPTIONS request returning code 301 (
Moved Permanently). I look inside logs and see that click to Options button from browable API view prints "POST /v1/some/..." but OPTIONS request by jQuery prints "OPTIONS /v1/some/...". What can i do to disable OPTIONS requests from jQuery or enable OPTIONS support in Django-Rest-Framework?
In addition question about token authorization. How i can change headers of OPTIONS requests or disable authorization check for them? Thanks!