类 Gem::GemcutterUtilities::WebauthnListener::MethodNotAllowedResponse
私有实例方法
源
# File lib/rubygems/gemcutter_utilities/webauthn_listener/response.rb, line 157 def add_access_control_headers super @http_response["allow"] = %w[GET OPTIONS] end
源
# File lib/rubygems/gemcutter_utilities/webauthn_listener/response.rb, line 149 def code 405 end
源
# File lib/rubygems/gemcutter_utilities/webauthn_listener/response.rb, line 153 def reason_phrase "Method Not Allowed" end