class Marten::HTTP::Response::MethodNotAllowed
Defined in:
marten/http/response/method_not_allowed.crConstructors
Instance methods inherited from class Marten::HTTP::Response
[]=(header : String | Symbol, value)
[]=,
content : String
content,
content=(content : String)
content=,
content_type : String
content_type,
cookies : Marten::HTTP::Cookies
cookies,
headers : Marten::HTTP::Headers
headers,
status : Int32
status
Constructor methods inherited from class Marten::HTTP::Response
new(content : String = "", content_type : String = DEFAULT_CONTENT_TYPE, status : Int32 = 200)
new
Constructor Detail
def self.new(allowed_methods : Array(String), content : String = "", content_type : String = DEFAULT_CONTENT_TYPE)
#