Content-Length

org.http4s.headers.Content-Length
See theContent-Length companion object
final case class Content-Length(length: Long)

Constructs a Content-Length header.

The HTTP RFCs do not specify a maximum length. We have decided that Long.MaxValue bytes ought to be good enough for anybody in order to avoid the irritations of BigInt.

Value parameters

length

the length

Attributes

Companion
object
Source
Content-Length.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
Content-Length.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product