- before_action :check_api_writable, :only => [:create, :update, :upload, :subscribe, :unsubscribe]
- before_action :check_api_readable, :except => [:create, :update, :upload, :download, :query, :subscribe, :unsubscribe]
- before_action :set_request_formats, :only => [:download]
+ before_action :set_request_formats, :except => [:create, :close, :upload]