list
|
encodeUintvar(uint)
Variable Length Unsigned Integer encoding algorithm |
|
|
list
|
|
list
|
|
list
|
|
list
|
|
list
|
encodeMediaType(contentType)
Encodes the specified MIME content type ("Media-type"
value) |
|
|
list
|
encodeParameter(parameterName,
parameterValue,
encodingVersion=' 1.2 ' )
Binary-encodes the name of a parameter of (for example) a
"Content-Type" header entry, taking into account the WSP
short form of well-known parameter names, as specified in section
8.4.2.4 and table 38 of [5]. |
|
|
list
|
encodeTokenText(text)
From [5], section 8.4.2.1: Token-text = Token End-of-string |
|
|
list
|
|
|
encodeTextValue(text)
Stub for encoding Text-values; this is equivalent to
encodeTextString |
|
|
list
|
|
list
|
encodeHeader(headerFieldName,
headerValue)
Encodes a WSP header entry, and its value |
|
|
list
|
|
list
|
encodeConstrainedMedia(mediaType)
From [5], section 8.4.2.7: Constrained-media =
Constrained-encoding It is encoded using values from the
"Content Type Assignments" table. |
|
|
list
|
encodeConstrainedEncoding(value)
Constrained-encoding = Extension-Media --or-- Short-integer This
encoding is used for token values, which have no well-known binary
encoding, or when the assigned number of the well-known encoding is
small enough to fit into Short-integer. |
|
|
str
|
encodeExtensionMedia(mediaValue)
From [5], section 8.4.2.1: Extension-media = *TEXT End-of-string
This encoding is used for media values, which have no well-known
binary encoding |
|
|
list
|
encodeContentGeneralForm(mediaType,
parameters)
From [5], section 8.4.2.24: Content-general-form = Value-length
Media-type |
|
|
list
|
encodeValueLength(length)
Encodes the specified length value as a value length indicator |
|
|
list
|
|
list
|
encodeAcceptValue(acceptValue)
From [5], section 8.4.2.7: Accept-value = Constrained-media |
Accept-general-form Accept-general-form = Value-length Media-range
[Accept-parameters] Media-range = (Well-known-media |
Extension-Media) *(Parameter) Accept-parameters = Q-token Q-value
*(Accept-extension) Accept-extension = Parameter Q-token = <Octet
128> |
|
|