diff options
| -rw-r--r-- | pyramid/httpexceptions.py | 6 | ||||
| -rw-r--r-- | pyramid/interfaces.py | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/pyramid/httpexceptions.py b/pyramid/httpexceptions.py index 64afc346a..4e351bf68 100644 --- a/pyramid/httpexceptions.py +++ b/pyramid/httpexceptions.py @@ -7,9 +7,9 @@ single HTTP status code. Each class is a subclass of the :class:`~HTTPException`. Each exception class is also a :term:`response` object. -Each exception class has a status code according to `RFC 2068 -<http://www.ietf.org/rfc/rfc2068.txt>`_: codes with 100-300 are not really -errors; 400s are client errors, and 500s are server errors. +Each exception class has a status code according to :rfc:`2068`: +codes with 100-300 are not really errors; 400s are client errors, +and 500s are server errors. Exception HTTPException diff --git a/pyramid/interfaces.py b/pyramid/interfaces.py index 0a5ec9588..4fb4d615c 100644 --- a/pyramid/interfaces.py +++ b/pyramid/interfaces.py @@ -57,9 +57,9 @@ class IApplicationCreated(Interface): IWSGIApplicationCreatedEvent = IApplicationCreated # b /c class IResponse(Interface): - """ Represents a WSGI response using the WebOb response interface. Some - attribute and method documentation of this interface references `RFC 2616 - <http://www.w3.org/Protocols/rfc2616/>`_. + """ Represents a WSGI response using the WebOb response interface. + Some attribute and method documentation of this interface references + :rfc:`2616`. This interface is most famously implemented by :class:`pyramid.response.Response` and the HTTP exception classes in |
