AcceptRanges

zio.http.Header.AcceptRanges
See theAcceptRanges companion object
sealed trait AcceptRanges extends Header

The Accept-Ranges HTTP response header is a marker used by the server to advertise its support for partial requests from the client for file downloads. The value of this field indicates the unit that can be used to define a range. By default the RFC 7233 specification supports only 2 possible values.

Attributes

Companion
object
Graph
Supertypes
trait Header
class Object
trait Matchable
class Any
Known subtypes
object Bytes.type
object None.type

Members list

Type members

Types

override type Self = AcceptRanges

Value members

Concrete methods

override def headerType: Typed[AcceptRanges]

Attributes

Definition Classes
override def self: Self

Attributes

Definition Classes

Inherited methods

def headerName: String

Attributes

Inherited from:
Header
def renderedValue: String

Attributes

Inherited from:
Header

Abstract fields

val encodedName: String

Inherited fields

lazy val untyped: Custom

Attributes

Inherited from:
Header