class Marten::HTTP::Response::MovedPermanently

Defined in:

marten/http/response/moved_permanently.cr

Constructors

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

Macros inherited from class Marten::HTTP::Response

override_status(status) override_status

Constructor Detail

def self.new(location : String, content : String = "", content_type : String = DEFAULT_CONTENT_TYPE) #

[View source]