Mixin for holding meta-information.


RE_LWS = /[\r\n\t ]+/n

RE_TOKEN = %r{[^\x00- ()<>@,;:\\"/\[\]?={}\x7f]+}n

RE_QUOTED_STRING = %r{"(?:[\r\n\t !#-\[\]-~\x80-\xff]|\\[\x00-\x7f])*"}n



[RW] status

returns an Array that consists of status code and message.

[RW] base_uri

returns a URI that is the base of relative URIs in the data. It may differ from the URI supplied by a user due to redirection.

[R] meta

returns a Hash that represents header fields. The Hash keys are downcased for canonicalization.

Show files where this module is defined (1 file)
Register or log in to add new notes.