Packages

object Content-Disposition extends ModeledCompanion[Content-Disposition] with Serializable

Document https://tools.ietf.org/html/rfc6266 updates document https://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html . Between these two there is slight but important difference regarding how parameter values are formatted. In RFC6266 parameters values are without quotes and in RFC2616 they are quoted. Since common practice among http servers is to understand quoted values, we use older document as reference here. Extended (i.e. encoded) parameter values are not quoted, see ext-parameter - https://tools.ietf.org/html/rfc5987#section-3.2.1

Note: Pekko HTTP uses "filename" key to store filename and handles encoding/decoding automatically. To output customized ASCII fallback version of filename provide "filename*" for unicode and "filename" for ASCII.

Source
headers.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Content-Disposition
  2. Serializable
  3. ModeledCompanion
  4. Renderable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. val lowercaseName: String
    Definition Classes
    ModeledCompanion
  2. val name: String
    Definition Classes
    ModeledCompanion
  3. def parseFromValueString(value: String): Either[List[ErrorInfo], Content-Disposition]

    Parses the given value into a header of this type.

    Parses the given value into a header of this type. Returns Right[T] if parsing was successful and Left(errors) otherwise.

    Definition Classes
    ModeledCompanion
  4. final def render[R <: Rendering](r: R): r.type
    Definition Classes
    ModeledCompanion → Renderable