class Tilia::Dav::Exception::LengthRequired

LengthRequired

This exception is thrown when a request was made that required a Content-Length header, but did not contain one.

Public Instance Methods

http_code() click to toggle source

Returns the HTTP statuscode for this exception

@return int

# File lib/tilia/dav/exception/length_required.rb, line 12
def http_code
  411
end