class Tilia::Dav::Exception::UnsupportedMediaType

UnsupportedMediaType

The 415 Unsupported Media Type status code is generally sent back when the client tried to call an HTTP method, with a body the server didn't understand

Public Instance Methods

http_code() click to toggle source

Returns the HTTP statuscode for this exception

@return int

# File lib/tilia/dav/exception/unsupported_media_type.rb, line 12
def http_code
  415
end