The HTTP-COMMON library#

The HTTP-COMMON module#

$application-error Constant#
$bad-gateway-error Constant#
$bad-header-error Constant#
$bad-request-error Constant#
$conflict-error Constant#
$content-length-required-error Constant#
$expectation-failed-error Constant#
$forbidden-error Constant#
$found-redirect Constant#
$gateway-timeout-error Constant#
$gone-error Constant#
$header-too-large-error Constant#
$http-version-not-supported-error Constant#
$internal-server-error Constant#
$method-not-allowed-error Constant#
$mime-wild Constant#
$moved-permanently-redirect Constant#
$moved-temporarily-redirect Constant#
$not-acceptable-error Constant#
$not-implemented-error Constant#
$not-modified-redirect Constant#
$payment-required-error Constant#
$precondition-failed-error Constant#
$proxy-authentication-required-error Constant#
$request-entity-too-large-error Constant#
$request-timeout-error Constant#
$request-uri-too-long-error Constant#
$requested-range-not-satisfiable-error Constant#
$resource-not-found-error Constant#
$see-other-redirect Constant#
$service-unavailable-error Constant#
$status-accepted Constant#
$status-application-error Constant#
$status-bad-gateway Constant#
$status-bad-request Constant#
$status-conflict Constant#
$status-continue Constant#
$status-created Constant#
$status-expectation-failed Constant#
$status-forbidden Constant#
$status-found Constant#
$status-gateway-timeout Constant#
$status-gone Constant#
$status-http-version-not-supported Constant#
$status-internal-server-error Constant#
$status-length-required Constant#
$status-method-not-allowed Constant#
$status-moved-permanently Constant#
$status-multiple-choices Constant#
$status-no-content Constant#
$status-non-authoritative-information Constant#
$status-not-acceptable Constant#
$status-not-found Constant#
$status-not-implemented Constant#
$status-not-modified Constant#
$status-ok Constant#
$status-partial-content Constant#
$status-payment-required Constant#
$status-precondition-failed Constant#
$status-proxy-authentication-required Constant#
$status-request-entity-too-large Constant#
$status-request-timeout Constant#
$status-request-uri-too-long Constant#
$status-requested-range-not-satisfiable Constant#
$status-reset-content Constant#
$status-see-other Constant#
$status-service-unavailable Constant#
$status-switching-protocols Constant#
$status-temporary-redirect Constant#
$status-unauthorized Constant#
$status-unsupported-media-type Constant#
$status-use-proxy Constant#
$unauthorized-error Constant#
$unsupported-media-type-error Constant#
$use-proxy-redirect Constant#
<application-error> Class#
Superclasses:

<http-server-protocol-error>

<attributes-mixin> Open Class#
Superclasses:

<object>

Init-Keywords:
  • attributes

<avalue> Class#
Superclasses:

<explicit-key-collection>

Init-Keywords:
  • alist

  • value

<bad-gateway-error> Class#
Superclasses:

<http-server-protocol-error>

<bad-header-error> Class#
Superclasses:

<http-parse-error>

<bad-request-error> Class#
Superclasses:

<http-parse-error>

<base-http-request> Open Class#
Superclasses:

<message-headers-mixin>:http-common-internals

Init-Keywords:
  • content

  • method

  • raw-url

  • url

  • version

<base-http-response> Open Class#
Superclasses:

<message-headers-mixin>:http-common-internals

Init-Keywords:
  • chunked

  • code

  • reason-phrase

  • request

<chunking-input-stream> Open Class#
Superclasses:

<wrapper-stream>:streams:io

<conflict-error> Class#
Superclasses:

<http-client-protocol-error>

<content-length-required-error> Class#
Superclasses:

<http-client-protocol-error>

<expectation-failed-error> Class#
Superclasses:

<http-client-protocol-error>

<expiring-mixin> Open Class#
Superclasses:

<object>

Init-Keywords:
  • duration

<forbidden-error> Class#
Superclasses:

<http-client-protocol-error>

<found-redirect> Class#
Superclasses:

<http-redirect-condition>

<gateway-timeout-error> Class#
Superclasses:

<http-server-protocol-error>

<gone-error> Class#
Superclasses:

<http-client-protocol-error>

<header-table> Class#
Superclasses:

<table>

<header-too-large-error> Class#
Superclasses:

<http-client-protocol-error>

<http-client-protocol-error> Class#
Superclasses:

<http-protocol-condition>

<http-error> Open Class#
Superclasses:

<format-string-condition>:dylan-extensions:dylan, <error>

<http-parse-error> Class#
Superclasses:

<http-client-protocol-error>

<http-protocol-condition> Open Class#
Superclasses:

<http-error>

Init-Keywords:
  • code

  • headers

<http-redirect-condition> Class#
Superclasses:

<http-protocol-condition>

<http-server-protocol-error> Class#
Superclasses:

<http-protocol-condition>

<http-version-not-supported-error> Class#
Superclasses:

<http-server-protocol-error>

<internal-server-error> Class#
Superclasses:

<http-server-protocol-error>

<media-type> Class#
Superclasses:

<attributes-mixin>, <mime-type>:mime:mime

<method-not-allowed-error> Class#
Superclasses:

<http-client-protocol-error>

<moved-permanently-redirect> Class#
Superclasses:

<http-redirect-condition>

<moved-temporarily-redirect> Class#
Superclasses:

<http-redirect-condition>

<not-acceptable-error> Class#
Superclasses:

<http-client-protocol-error>

<not-implemented-error> Class#
Superclasses:

<http-server-protocol-error>

<not-modified-redirect> Class#
Superclasses:

<http-redirect-condition>

<payment-required-error> Class#
Superclasses:

<http-client-protocol-error>

<precondition-failed-error> Class#
Superclasses:

<http-client-protocol-error>

<proxy-authentication-required-error> Class#
Superclasses:

<http-client-protocol-error>

<request-entity-too-large-error> Class#
Superclasses:

<http-client-protocol-error>

<request-timeout-error> Class#
Superclasses:

<http-client-protocol-error>

<request-uri-too-long-error> Class#
Superclasses:

<http-client-protocol-error>

<requested-range-not-satisfiable-error> Class#
Superclasses:

<http-client-protocol-error>

<resource-not-found-error> Class#
Superclasses:

<http-client-protocol-error>

<see-other-redirect> Class#
Superclasses:

<http-redirect-condition>

<service-unavailable-error> Class#
Superclasses:

<http-server-protocol-error>

<unauthorized-error> Class#
Superclasses:

<http-client-protocol-error>

<unsupported-media-type-error> Class#
Superclasses:

<http-client-protocol-error>

<use-proxy-redirect> Class#
Superclasses:

<http-redirect-condition>

application-error Function#
Signature:

application-error (#key headers header-name header-value message) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

  • message (#key) – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

avalue-alist Generic function#
Signature:

avalue-alist (object) => (#rest results)

Parameters:
  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

avalue-value Generic function#
Signature:

avalue-value (object) => (#rest results)

Parameters:
  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

bad-gateway-error Function#
Signature:

bad-gateway-error (#key headers header-name header-value) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

Values:
  • #rest results – An instance of <object>.

bad-header-error Function#
Signature:

bad-header-error (#key headers header-name header-value message) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

  • message (#key) – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

bad-request-error Function#
Signature:

bad-request-error (#key headers header-name header-value reason) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

  • reason (#key) – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

chunked-transfer-encoding? Generic function#
Signature:

chunked-transfer-encoding? (headers) => (#rest results)

Parameters:
  • headers – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

condition-class-for-status-code Function#
Signature:

condition-class-for-status-code (code) => (class)

Parameters:
  • code – An instance of <integer>.

Values:
  • class – An instance of <class>.

conflict-error Function#
Signature:

conflict-error (#key headers header-name header-value) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

Values:
  • #rest results – An instance of <object>.

content-length Open Generic function#
Signature:

content-length (object) => (length)

Parameters:
  • object – An instance of <object>.

Values:
  • length – An instance of false-or(<integer>).

content-length-required-error Function#
Signature:

content-length-required-error (#key headers header-name header-value) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

Values:
  • #rest results – An instance of <object>.

cookie-comment Generic function#
Signature:

cookie-comment (object) => (#rest results)

Parameters:
  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

cookie-domain Generic function#
Signature:

cookie-domain (object) => (#rest results)

Parameters:
  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

cookie-max-age Generic function#
Signature:

cookie-max-age (object) => (#rest results)

Parameters:
  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

cookie-name Generic function#
Signature:

cookie-name (object) => (#rest results)

Parameters:
  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

cookie-path Generic function#
Signature:

cookie-path (object) => (#rest results)

Parameters:
  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

cookie-value Generic function#
Signature:

cookie-value (object) => (#rest results)

Parameters:
  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

cookie-version Generic function#
Signature:

cookie-version (object) => (#rest results)

Parameters:
  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

date-modified Open Generic function#
Signature:

date-modified (object) => (date)

Parameters:
  • object – An instance of <object>.

Values:
  • date – An instance of false-or(<date>).

date-modified-setter Open Generic function#
Signature:

date-modified-setter (new-date object) => (new-date)

Parameters:
  • new-date – An instance of false-or(<date>).

  • object – An instance of <object>.

Values:
  • new-date – An instance of false-or(<date>).

expectation-failed-error Function#
Signature:

expectation-failed-error (#key headers header-name header-value) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

Values:
  • #rest results – An instance of <object>.

expired? Generic function#
Signature:

expired? (thing) => (#rest results)

Parameters:
  • thing – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

forbidden-error Function#
Signature:

forbidden-error (#key headers header-name header-value) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

Values:
  • #rest results – An instance of <object>.

found-redirect Function#
Signature:

found-redirect (#key headers header-name header-value location) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

  • location (#key) – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

gateway-timeout-error Function#
Signature:

gateway-timeout-error (#key headers header-name header-value) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

Values:
  • #rest results – An instance of <object>.

get-attribute Generic function#
Signature:

get-attribute (this key) => (value)

Parameters:
  • this – An instance of <attributes-mixin>.

  • key – An instance of <string>.

Values:
  • value – An instance of <object>.

get-header Open Generic function#
Signature:

get-header (object header-name #key parsed) => (header-value)

Parameters:
  • object – An instance of <object>.

  • header-name – An instance of <byte-string>.

  • parsed (#key) – An instance of <boolean>.

Values:
  • header-value – An instance of <object>.

gone-error Function#
Signature:

gone-error (#key headers header-name header-value) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

Values:
  • #rest results – An instance of <object>.

grow-header-buffer Function#
Signature:

grow-header-buffer (old len) => (#rest results)

Parameters:
  • old – An instance of <byte-string>.

  • len – An instance of <integer>.

Values:
  • #rest results – An instance of <object>.

has-attribute? Generic function#
Signature:

has-attribute? (this key) => (has-it?)

Parameters:
  • this – An instance of <attributes-mixin>.

  • key – An instance of <string>.

Values:
  • has-it? – An instance of <boolean>.

header-too-large-error Function#
Signature:

header-too-large-error (#key headers header-name header-value max-size) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

  • max-size (#key) – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

http-error-headers Generic function#
Signature:

http-error-headers (error) => (headers)

Parameters:
  • error – An instance of <error>.

Values:
  • headers – An instance of false-or(<header-table>).

http-error-message-no-code Generic function#
Signature:

http-error-message-no-code (error) => (#rest results)

Parameters:
  • error – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

http-status-code Generic function#
Signature:

http-status-code (error) => (code)

Parameters:
  • error – An instance of <error>.

Values:
  • code – An instance of <integer>.

http-version-not-supported-error Function#
Signature:

http-version-not-supported-error (#key headers header-name header-value version) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

  • version (#key) – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

internal-server-error Function#
Signature:

internal-server-error (#key headers header-name header-value) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

Values:
  • #rest results – An instance of <object>.

match-media-types Generic function#
Signature:

match-media-types (type1 type2) => (#rest results)

Parameters:
  • type1 – An instance of <object>.

  • type2 – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

media-type-exact? Generic function#
Signature:

media-type-exact? (mr) => (#rest results)

Parameters:
  • mr – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

media-type-level Generic function#
Signature:

media-type-level (media-type) => (#rest results)

Parameters:
  • media-type – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

media-type-more-specific? Generic function#
Signature:

media-type-more-specific? (type1 type2) => (#rest results)

Parameters:
  • type1 – An instance of <object>.

  • type2 – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

media-type-quality Generic function#
Signature:

media-type-quality (media-type) => (#rest results)

Parameters:
  • media-type – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

method-not-allowed-error Function#
Signature:

method-not-allowed-error (#key headers header-name header-value request-method) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

  • request-method (#key) – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

moved-permanently-redirect Function#
Signature:

moved-permanently-redirect (#key headers header-name header-value location) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

  • location (#key) – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

moved-temporarily-redirect Function#
Signature:

moved-temporarily-redirect (#key headers header-name header-value location) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

  • location (#key) – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

not-acceptable-error Function#
Signature:

not-acceptable-error (#key headers header-name header-value) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

Values:
  • #rest results – An instance of <object>.

not-implemented-error Function#
Signature:

not-implemented-error (#key headers header-name header-value what) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

  • what (#key) – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

not-modified-redirect Function#
Signature:

not-modified-redirect (#key headers header-name header-value) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

Values:
  • #rest results – An instance of <object>.

note-bytes-received Open Generic function#
Signature:

note-bytes-received (stream byte-count) => (#rest results)

Parameters:
  • stream – An instance of <chunking-input-stream>.

  • byte-count – An instance of <integer>.

Values:
  • #rest results – An instance of <object>.

parse-header-value Open Generic function#
Signature:

parse-header-value (field-name field-values) => (parsed-field-value)

Parameters:
  • field-name – An instance of <symbol>.

  • field-values – An instance of <field-type>:http-common-internals.

Values:
  • parsed-field-value – An instance of <object>.

parse-http-date Function#
Signature:

parse-http-date (str bpos epos) => (date)

Parameters:
  • str – An instance of <byte-string>.

  • bpos – An instance of <integer>.

  • epos – An instance of <integer>.

Values:
  • date – An instance of false-or(<date>).

parsed-headers Generic function#
Signature:

parsed-headers (object) => (#rest results)

Parameters:
  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

payment-required-error Function#
Signature:

payment-required-error (#key headers header-name header-value) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

Values:
  • #rest results – An instance of <object>.

precondition-failed-error Function#
Signature:

precondition-failed-error (#key headers header-name header-value) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

Values:
  • #rest results – An instance of <object>.

proxy-authentication-required-error Function#
Signature:

proxy-authentication-required-error (#key headers header-name header-value) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

Values:
  • #rest results – An instance of <object>.

quote-html Function#
Signature:

quote-html (text #key stream) => (#rest results)

Parameters:
  • text – An instance of <string>.

  • stream (#key) – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

raw-headers Generic function#
Signature:

raw-headers (object) => (#rest results)

Parameters:
  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

read-header-line Function#
Signature:

read-header-line (stream buffer bpos peek-ch require-crlf?) => (buffer bpos epos peek-ch)

Parameters:
  • stream – An instance of <stream>:common-extensions:common-dylan.

  • buffer – An instance of <byte-string>.

  • bpos – An instance of <integer>.

  • peek-ch – An instance of false-or(<byte-character>).

  • require-crlf? – An instance of <boolean>.

Values:
  • buffer – An instance of <byte-string>.

  • bpos – An instance of <integer>.

  • epos – An instance of <integer>.

  • peek-ch – An instance of false-or(<byte-character>).

read-http-line Generic function#
Signature:

read-http-line (stream) => (#rest results)

Parameters:
  • stream – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

read-message-headers Function#
Signature:

read-message-headers (stream #key buffer start headers require-crlf?) => (headers buffer epos)

Parameters:
  • stream – An instance of <stream>:common-extensions:common-dylan.

  • buffer (#key) – An instance of <byte-string>.

  • start (#key) – An instance of <integer>.

  • headers (#key) – An instance of <header-table>.

  • require-crlf? (#key) – An instance of <boolean>.

Values:
  • headers – An instance of <header-table>.

  • buffer – An instance of <byte-string>.

  • epos – An instance of <integer>.

remove-attribute Generic function#
Signature:

remove-attribute (this key) => (#rest results)

Parameters:
  • this – An instance of <attributes-mixin>.

  • key – An instance of <string>.

Values:
  • #rest results – An instance of <object>.

request-content Generic function#
Signature:

request-content (object) => (#rest results)

Parameters:
  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

request-content-setter Generic function#
Signature:

request-content-setter (value object) => (#rest results)

Parameters:
  • value – An instance of <object>.

  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

request-entity-too-large-error Function#
Signature:

request-entity-too-large-error (#key headers header-name header-value max-size) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

  • max-size (#key) – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

request-method Generic function#
Signature:

request-method (object) => (#rest results)

Parameters:
  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

request-method-setter Generic function#
Signature:

request-method-setter (value object) => (#rest results)

Parameters:
  • value – An instance of <object>.

  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

request-raw-url-string Generic function#
Signature:

request-raw-url-string (object) => (#rest results)

Parameters:
  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

request-raw-url-string-setter Generic function#
Signature:

request-raw-url-string-setter (value object) => (#rest results)

Parameters:
  • value – An instance of <object>.

  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

request-timeout-error Function#
Signature:

request-timeout-error (#key headers header-name header-value seconds) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

  • seconds (#key) – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

request-uri-too-long-error Function#
Signature:

request-uri-too-long-error (#key headers header-name header-value max-size) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

  • max-size (#key) – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

request-url Generic function#
Signature:

request-url (object) => (#rest results)

Parameters:
  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

request-url-setter Generic function#
Signature:

request-url-setter (value object) => (#rest results)

Parameters:
  • value – An instance of <object>.

  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

request-version Generic function#
Signature:

request-version (object) => (#rest results)

Parameters:
  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

request-version-setter Generic function#
Signature:

request-version-setter (value object) => (#rest results)

Parameters:
  • value – An instance of <object>.

  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

requested-range-not-satisfiable-error Function#
Signature:

requested-range-not-satisfiable-error (#key headers header-name header-value) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

Values:
  • #rest results – An instance of <object>.

resource-not-found-error Function#
Signature:

resource-not-found-error (#key headers header-name header-value url) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

  • url (#key) – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

response-chunked? Generic function#
Signature:

response-chunked? (object) => (#rest results)

Parameters:
  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

response-chunked?-setter Generic function#
Signature:

response-chunked?-setter (value object) => (#rest results)

Parameters:
  • value – An instance of <object>.

  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

response-code Generic function#
Signature:

response-code (object) => (#rest results)

Parameters:
  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

response-code-setter Generic function#
Signature:

response-code-setter (value object) => (#rest results)

Parameters:
  • value – An instance of <object>.

  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

response-reason-phrase Generic function#
Signature:

response-reason-phrase (object) => (#rest results)

Parameters:
  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

response-reason-phrase-setter Generic function#
Signature:

response-reason-phrase-setter (value object) => (#rest results)

Parameters:
  • value – An instance of <object>.

  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

response-request Generic function#
Signature:

response-request (object) => (#rest results)

Parameters:
  • object – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

see-other-redirect Function#
Signature:

see-other-redirect (#key headers header-name header-value location) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

  • location (#key) – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

service-unavailable-error Function#
Signature:

service-unavailable-error (#key headers header-name header-value) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

Values:
  • #rest results – An instance of <object>.

set-attribute Generic function#
Signature:

set-attribute (this key value) => (#rest results)

Parameters:
  • this – An instance of <attributes-mixin>.

  • key – An instance of <string>.

  • value – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

set-header Open Generic function#
Signature:

set-header (object header value #key if-exists?) => (#rest results)

Parameters:
  • object – An instance of <object>.

  • header – An instance of <byte-string>.

  • value – An instance of <object>.

  • if-exists? (#key) – An instance of one-of(#"replace", #"append", #"ignore", #"error").

Values:
  • #rest results – An instance of <object>.

token-end-position Function#
Signature:

token-end-position (buf bpos epos) => (#rest results)

Parameters:
  • buf – An instance of <byte-string>.

  • bpos – An instance of <integer>.

  • epos – An instance of <integer>.

Values:
  • #rest results – An instance of <object>.

unauthorized-error Function#
Signature:

unauthorized-error (#key headers header-name header-value) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

Values:
  • #rest results – An instance of <object>.

unsupported-media-type-error Function#
Signature:

unsupported-media-type-error (#key headers header-name header-value) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

Values:
  • #rest results – An instance of <object>.

use-proxy-redirect Function#
Signature:

use-proxy-redirect (#key headers header-name header-value location) => (#rest results)

Parameters:
  • headers (#key) – An instance of false-or(<header-table>).

  • header-name (#key) – An instance of false-or(<string>).

  • header-value (#key) – An instance of false-or(<string>).

  • location (#key) – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

validate-http-status-code Generic function#
Signature:

validate-http-status-code (status-code) => (#rest results)

Parameters:
  • status-code – An instance of <object>.

Values:
  • #rest results – An instance of <object>.

validate-http-version Generic function#
Signature:

validate-http-version (version) => (#rest results)

Parameters:
  • version – An instance of <object>.

Values:
  • #rest results – An instance of <object>.