OPTIONS method in rest_handler