Skip to content

NoAcceptableType

[Source]

Returned by ContentNegotiation when none of the server's supported media types match the client's Accept header preferences.

Servers should respond with 406 Not Acceptable when they receive this result.

primitive val NoAcceptableType

Constructors

create

[Source]

new val create()
: NoAcceptableType val^

Returns


Public Functions

string

[Source]

fun box string()
: String val

Returns


eq

[Source]

fun box eq(
  that: NoAcceptableType val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: NoAcceptableType val)
: Bool val

Parameters

Returns