webob :: response :: Response :: Class Response
[hide private]

Class Response

object --+
         |
        Response
Known Subclasses:

Represents a WSGI response

Instance Methods [hide private]
 
__call__(self, environ, start_response)
WSGI application interface
 
__init__(self, body=None, status=None, headerlist=None, app_iter=None, content_type=None, conditional_response=None, **kw)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__repr__(self)
repr(x)
 
__str__(self, skip_body=False)
str(x)
 
_abs_headerlist(self, environ)
Returns a headerlist, with the Location header possibly made absolute given the request environ.
 
_app_iter__del(self)
 
_app_iter__get(self)
Returns the app_iter of the response.
 
_app_iter__set(self, value)
 
_body__get(self)
The body of the response, as a ``str``.
 
_body__set(self, value='')
 
_body_file__del(self)
 
_body_file__get(self)
A file-like object that can be used to write to the body.
 
_body_file__set(self, file)
 
_cache_control__del(self)
 
_cache_control__get(self)
Get/set/modify the Cache-Control header (`HTTP spec section 14.9 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9>`_)
 
_cache_control__set(self, value)
 
_cache_expires(self, seconds=0, **kw)
Set expiration on this request.
 
_charset__del(self)
 
_charset__get(self)
Get/set the charset (in the Content-Type)
 
_charset__set(self, charset)
 
_content_type__del(self)
 
_content_type__get(self)
Get/set the Content-Type header (or None), *without* the charset or any parameters.
 
_content_type__set(self, value)
 
_content_type_params__del(self)
 
_content_type_params__get(self)
A dictionary of all the parameters in the content type.
 
_content_type_params__set(self, value_dict)
 
_headerlist__del(self)
 
_headerlist__get(self)
The list of response headers
 
_headerlist__set(self, value)
 
_headers__get(self)
The headers in a dictionary-like object
 
_headers__set(self, value)
 
_json_body__del(self)
 
_json_body__get(self)
Access the body of the response as JSON
 
_json_body__set(self, value)
 
_status__get(self)
The status string
 
_status__set(self, value)
 
_status_code__get(self)
The status as an integer
 
_status_code__set(self, code)
 
_text__del(self)
 
_text__get(self)
Get/set the text value of the body (using the charset of the Content-Type)
 
_text__set(self, value)
 
_update_cache_control(self, prop_dict)
 
app_iter_range(self, start, stop)
Return a new app_iter built from the response app_iter, that serves up only the given ``start:stop`` range.
 
conditional_response_app(self, environ, start_response)
Like the normal __call__ interface, but checks conditional headers:
 
copy(self)
Makes a copy of the response
 
decode_content(self)
 
delete_cookie(self, key, path='/', domain=None)
Delete a cookie from the client.
 
encode_content(self, encoding='gzip', lazy=False)
Encode the content with the given encoding (only gzip and identity are supported).
 
md5_etag(self, body=None, set_content_md5=False)
Generate an etag for the response object using an MD5 hash of the body (the body parameter, or ``self.body`` if not given)
 
merge_cookies(self, resp)
Merge the cookies that were set on this response with the given `resp` object (which can be any WSGI application).
 
set_cookie(self, key, value='', max_age=None, path='/', domain=None, secure=False, httponly=False, comment=None, expires=None, overwrite=False)
Set (add) a cookie for the response.
 
unset_cookie(self, key, strict=True)
Unset a cookie with the given name (remove it from the response).
 
write(self, text)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]
 
from_file(cls, fp)
Reads a response from a file-like object (it must implement ``.read(size)`` and ``.readline()``).
Class Variables [hide private]
  _cache_control_obj = None
hash(x)
  _safe_methods = ('GET', 'HEAD')
  default_charset = 'UTF-8'
  default_conditional_response = False
  default_content_type = 'text/html'
  environ = None
hash(x)
  request = None
hash(x)
  unicode_errors = 'strict'
Properties [hide private]
  _etag_raw
Gets and sets the ``ETag`` header (`HTTP spec section 14.19 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.19>`_).
  accept_ranges
Gets and sets the ``Accept-Ranges`` header (`HTTP spec section 14.5 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.5>`_).
  age
Gets and sets the ``Age`` header (`HTTP spec section 14.6 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.6>`_).
  allow
Gets and sets the ``Allow`` header (`HTTP spec section 14.7 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.7>`_).
  app_iter
Returns the app_iter of the response.
  body
The body of the response, as a ``str``.
  body_file
A file-like object that can be used to write to the body.
  cache_control
Get/set/modify the Cache-Control header (`HTTP spec section 14.9 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9>`_)
  cache_expires
  charset
Get/set the charset (in the Content-Type)
  content_disposition
Gets and sets the ``Content-Disposition`` header (`HTTP spec section 19.5.1 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1>`_).
  content_encoding
Gets and sets the ``Content-Encoding`` header (`HTTP spec section 14.11 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11>`_).
  content_language
Gets and sets the ``Content-Language`` header (`HTTP spec section 14.12 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.12>`_).
  content_length
Gets and sets the ``Content-Length`` header (`HTTP spec section 14.17 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17>`_).
  content_location
Gets and sets the ``Content-Location`` header (`HTTP spec section 14.14 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.14>`_).
  content_md5
Gets and sets the ``Content-MD5`` header (`HTTP spec section 14.14 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.14>`_).
  content_range
Gets and sets the ``Content-Range`` header (`HTTP spec section 14.16 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.16>`_).
  content_type
Get/set the Content-Type header (or None), *without* the charset or any parameters.
  content_type_params
A dictionary of all the parameters in the content type.
  date
Gets and sets the ``Date`` header (`HTTP spec section 14.18 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.18>`_).
  etag
Gets and sets the ``ETag`` header (`HTTP spec section 14.19 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.19>`_).
  etag_strong
  expires
Gets and sets the ``Expires`` header (`HTTP spec section 14.21 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21>`_).
  headerlist
The list of response headers
  headers
The headers in a dictionary-like object
  json
Access the body of the response as JSON
  json_body
Access the body of the response as JSON
  last_modified
Gets and sets the ``Last-Modified`` header (`HTTP spec section 14.29 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.29>`_).
  location
Gets and sets the ``Location`` header (`HTTP spec section 14.30 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30>`_).
  pragma
Gets and sets the ``Pragma`` header (`HTTP spec section 14.32 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.32>`_).
  retry_after
Gets and sets the ``Retry-After`` header (`HTTP spec section 14.37 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.37>`_).
  server
Gets and sets the ``Server`` header (`HTTP spec section 14.38 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.38>`_).
  status
The status string
  status_code
The status as an integer
  status_int
The status as an integer
  text
Get/set the text value of the body (using the charset of the Content-Type)
  ubody
Deprecated alias for .text
  unicode_body
Deprecated alias for .text
  vary
Gets and sets the ``Vary`` header (`HTTP spec section 14.44 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.44>`_).
  www_authenticate
Gets and sets the ``WWW-Authenticate`` header (`HTTP spec section 14.47 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.47>`_).

Inherited from object: __class__

Method Details [hide private]

__init__(self, body=None, status=None, headerlist=None, app_iter=None, content_type=None, conditional_response=None, **kw)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__str__(self, skip_body=False)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)

_app_iter__get(self)

 

Returns the app_iter of the response.

If body was set, this will create an app_iter from that body (a single-item list)

_body__get(self)

 

The body of the response, as a ``str``. This will read in the entire app_iter if necessary.

_body_file__get(self)

 

A file-like object that can be used to write to the body. If you passed in a list app_iter, that app_iter will be modified by writes.

_cache_expires(self, seconds=0, **kw)

 

Set expiration on this request. This sets the response to expire in the given seconds, and any other attributes are used for cache_control (e.g., private=True, etc).

_content_type__get(self)

 

Get/set the Content-Type header (or None), *without* the charset or any parameters.

If you include parameters (or ``;`` at all) when setting the content_type, any existing parameters will be deleted; otherwise they will be preserved.

_content_type_params__get(self)

 

A dictionary of all the parameters in the content type.

(This is not a view, set to change, modifications of the dict would not be applied otherwise)

conditional_response_app(self, environ, start_response)

 

Like the normal __call__ interface, but checks conditional headers:

* If-Modified-Since (304 Not Modified; only on GET, HEAD) * If-None-Match (304 Not Modified; only on GET, HEAD) * Range (406 Partial Content; only on GET, HEAD)

delete_cookie(self, key, path='/', domain=None)

 

Delete a cookie from the client. Note that path and domain must match how the cookie was originally set.

This sets the cookie to the empty string, and max_age=0 so that it should expire immediately.

from_file(cls, fp)
Class Method

 

Reads a response from a file-like object (it must implement ``.read(size)`` and ``.readline()``).

It will read up to the end of the response, not the end of the file.

This reads the response as represented by ``str(resp)``; it may not read every valid HTTP response properly. Responses must have a ``Content-Length``

md5_etag(self, body=None, set_content_md5=False)

 

Generate an etag for the response object using an MD5 hash of the body (the body parameter, or ``self.body`` if not given)

Sets ``self.etag`` If ``set_content_md5`` is True sets ``self.content_md5`` as well

merge_cookies(self, resp)

 

Merge the cookies that were set on this response with the given `resp` object (which can be any WSGI application).

If the `resp` is a :class:`webob.Response` object, then the other object will be modified in-place.

set_cookie(self, key, value='', max_age=None, path='/', domain=None, secure=False, httponly=False, comment=None, expires=None, overwrite=False)

 

Set (add) a cookie for the response.

Arguments are:

``key``

   The cookie name.

``value``

   The cookie value, which should be a string or ``None``.  If
   ``value`` is ``None``, it's equivalent to calling the
   :meth:`webob.response.Response.unset_cookie` method for this
   cookie key (it effectively deletes the cookie on the client).

``max_age``

   An integer representing a number of seconds or ``None``.  If this
   value is an integer, it is used as the ``Max-Age`` of the
   generated cookie.  If ``expires`` is not passed and this value is
   an integer, the ``max_age`` value will also influence the
   ``Expires`` value of the cookie (``Expires`` will be set to now +
   max_age).  If this value is ``None``, the cookie will not have a
   ``Max-Age`` value (unless ``expires`` is also sent).

``path``

   A string representing the cookie ``Path`` value.  It defaults to
   ``/``.

``domain``

   A string representing the cookie ``Domain``, or ``None``.  If
   domain is ``None``, no ``Domain`` value will be sent in the
   cookie.

``secure``

   A boolean.  If it's ``True``, the ``secure`` flag will be sent in
   the cookie, if it's ``False``, the ``secure`` flag will not be
   sent in the cookie.

``httponly``

   A boolean.  If it's ``True``, the ``HttpOnly`` flag will be sent
   in the cookie, if it's ``False``, the ``HttpOnly`` flag will not
   be sent in the cookie.

``comment``

   A string representing the cookie ``Comment`` value, or ``None``.
   If ``comment`` is ``None``, no ``Comment`` value will be sent in
   the cookie.

``expires``

   A ``datetime.timedelta`` object representing an amount of time or
   the value ``None``.  A non-``None`` value is used to generate the
   ``Expires`` value of the generated cookie.  If ``max_age`` is not
   passed, but this value is not ``None``, it will influence the
   ``Max-Age`` header (``Max-Age`` will be 'expires_value -
   datetime.utcnow()').  If this value is ``None``, the ``Expires``
   cookie value will be unset (unless ``max_age`` is also passed).

``overwrite``

   If this key is ``True``, before setting the cookie, unset any
   existing cookie.


Property Details [hide private]

_etag_raw

Gets and sets the ``ETag`` header (`HTTP spec section 14.19 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.19>`_).

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, value)
Delete Method:
unreachable.fdel(r)

accept_ranges

Gets and sets the ``Accept-Ranges`` header (`HTTP spec section 14.5 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.5>`_).

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, value)
Delete Method:
unreachable.fdel(r)

age

Gets and sets the ``Age`` header (`HTTP spec section 14.6 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.6>`_). Converts it using int.

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, val)
Delete Method:
unreachable.fdel(r)

allow

Gets and sets the ``Allow`` header (`HTTP spec section 14.7 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.7>`_). Converts it using list.

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, val)
Delete Method:
unreachable.fdel(r)

app_iter

Returns the app_iter of the response.

If body was set, this will create an app_iter from that body (a single-item list)

Get Method:
_app_iter__get(self) - Returns the app_iter of the response.
Set Method:
_app_iter__set(self, value)
Delete Method:
_app_iter__del(self)

body

The body of the response, as a ``str``. This will read in the entire app_iter if necessary.

Get Method:
_body__get(self) - The body of the response, as a ``str``.
Set Method:
_body__set(self, value='')
Delete Method:
_body__set(self, value='')

body_file

A file-like object that can be used to write to the body. If you passed in a list app_iter, that app_iter will be modified by writes.

Get Method:
_body_file__get(self) - A file-like object that can be used to write to the body.
Set Method:
_body_file__set(self, file)
Delete Method:
_body_file__del(self)

cache_control

Get/set/modify the Cache-Control header (`HTTP spec section 14.9 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9>`_)

Get Method:
_cache_control__get(self) - Get/set/modify the Cache-Control header (`HTTP spec section 14.9 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9>`_)
Set Method:
_cache_control__set(self, value)
Delete Method:
_cache_control__del(self)

cache_expires

Get Method:
unreachable(self)
Set Method:
_cache_expires(self, seconds=0, **kw) - Set expiration on this request.

charset

Get/set the charset (in the Content-Type)

Get Method:
_charset__get(self) - Get/set the charset (in the Content-Type)
Set Method:
_charset__set(self, charset)
Delete Method:
_charset__del(self)

content_disposition

Gets and sets the ``Content-Disposition`` header (`HTTP spec section 19.5.1 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1>`_).

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, value)
Delete Method:
unreachable.fdel(r)

content_encoding

Gets and sets the ``Content-Encoding`` header (`HTTP spec section 14.11 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11>`_).

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, value)
Delete Method:
unreachable.fdel(r)

content_language

Gets and sets the ``Content-Language`` header (`HTTP spec section 14.12 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.12>`_). Converts it using list.

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, val)
Delete Method:
unreachable.fdel(r)

content_length

Gets and sets the ``Content-Length`` header (`HTTP spec section 14.17 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17>`_). Converts it using int.

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, val)
Delete Method:
unreachable.fdel(r)

content_location

Gets and sets the ``Content-Location`` header (`HTTP spec section 14.14 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.14>`_).

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, value)
Delete Method:
unreachable.fdel(r)

content_md5

Gets and sets the ``Content-MD5`` header (`HTTP spec section 14.14 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.14>`_).

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, value)
Delete Method:
unreachable.fdel(r)

content_range

Gets and sets the ``Content-Range`` header (`HTTP spec section 14.16 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.16>`_). Converts it using ContentRange object.

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, val)
Delete Method:
unreachable.fdel(r)

content_type

Get/set the Content-Type header (or None), *without* the charset or any parameters.

If you include parameters (or ``;`` at all) when setting the content_type, any existing parameters will be deleted; otherwise they will be preserved.

Get Method:
_content_type__get(self) - Get/set the Content-Type header (or None), *without* the charset or any parameters.
Set Method:
_content_type__set(self, value)
Delete Method:
_content_type__del(self)

content_type_params

A dictionary of all the parameters in the content type.

(This is not a view, set to change, modifications of the dict would not be applied otherwise)

Get Method:
_content_type_params__get(self) - A dictionary of all the parameters in the content type.
Set Method:
_content_type_params__set(self, value_dict)
Delete Method:
_content_type_params__del(self)

date

Gets and sets the ``Date`` header (`HTTP spec section 14.18 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.18>`_). Converts it using HTTP date.

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, val)
Delete Method:
unreachable.fdel(r)

etag

Gets and sets the ``ETag`` header (`HTTP spec section 14.19 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.19>`_). Converts it using Entity tag.

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, val)
Delete Method:
unreachable.fdel(r)

etag_strong

Get Method:
unreachable.etag_strong(self)

expires

Gets and sets the ``Expires`` header (`HTTP spec section 14.21 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21>`_). Converts it using HTTP date.

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, val)
Delete Method:
unreachable.fdel(r)

headerlist

The list of response headers

Get Method:
_headerlist__get(self) - The list of response headers
Set Method:
_headerlist__set(self, value)
Delete Method:
_headerlist__del(self)

headers

The headers in a dictionary-like object

Get Method:
_headers__get(self) - The headers in a dictionary-like object
Set Method:
_headers__set(self, value)

json

Access the body of the response as JSON

Get Method:
_json_body__get(self) - Access the body of the response as JSON
Set Method:
_json_body__set(self, value)
Delete Method:
_json_body__del(self)

json_body

Access the body of the response as JSON

Get Method:
_json_body__get(self) - Access the body of the response as JSON
Set Method:
_json_body__set(self, value)
Delete Method:
_json_body__del(self)

last_modified

Gets and sets the ``Last-Modified`` header (`HTTP spec section 14.29 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.29>`_). Converts it using HTTP date.

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, val)
Delete Method:
unreachable.fdel(r)

location

Gets and sets the ``Location`` header (`HTTP spec section 14.30 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30>`_).

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, value)
Delete Method:
unreachable.fdel(r)

pragma

Gets and sets the ``Pragma`` header (`HTTP spec section 14.32 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.32>`_).

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, value)
Delete Method:
unreachable.fdel(r)

retry_after

Gets and sets the ``Retry-After`` header (`HTTP spec section 14.37 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.37>`_). Converts it using HTTP date or delta seconds.

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, val)
Delete Method:
unreachable.fdel(r)

server

Gets and sets the ``Server`` header (`HTTP spec section 14.38 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.38>`_).

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, value)
Delete Method:
unreachable.fdel(r)

status

The status string

Get Method:
_status__get(self) - The status string
Set Method:
_status__set(self, value)

status_code

The status as an integer

Get Method:
_status_code__get(self) - The status as an integer
Set Method:
_status_code__set(self, code)

status_int

The status as an integer

Get Method:
_status_code__get(self) - The status as an integer
Set Method:
_status_code__set(self, code)

text

Get/set the text value of the body (using the charset of the Content-Type)

Get Method:
_text__get(self) - Get/set the text value of the body (using the charset of the Content-Type)
Set Method:
_text__set(self, value)
Delete Method:
_text__del(self)

ubody

Deprecated alias for .text

Get Method:
_text__get(self) - Get/set the text value of the body (using the charset of the Content-Type)
Set Method:
_text__set(self, value)
Delete Method:
_text__del(self)

unicode_body

Deprecated alias for .text

Get Method:
_text__get(self) - Get/set the text value of the body (using the charset of the Content-Type)
Set Method:
_text__set(self, value)
Delete Method:
_text__del(self)

vary

Gets and sets the ``Vary`` header (`HTTP spec section 14.44 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.44>`_). Converts it using list.

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, val)
Delete Method:
unreachable.fdel(r)

www_authenticate

Gets and sets the ``WWW-Authenticate`` header (`HTTP spec section 14.47 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.47>`_). Converts it using ``parse_auth`` and ``serialize_auth``.

Get Method:
unreachable.fget(r)
Set Method:
unreachable.fset(r, val)
Delete Method:
unreachable.fdel(r)