final case classContent-Length(length: Long) extends Parsed with Product with Serializable
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 scala.math.BigInt.
length
the length; throws an IllegalArgumentException if negative
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 scala.math.BigInt.
the length; throws an IllegalArgumentException if negative