summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin Sevilla <dasevilla@gmail.com>2013-05-27 09:47:42 -0700
committerDevin Sevilla <dasevilla@gmail.com>2013-05-27 09:47:42 -0700
commit8931f3ad93fa051ca81cf53dd1b1c8f7169c8142 (patch)
treece1ff5d37dde897de2521529c3a6f2d36eeee106
parentd1e2b1df73eaeebafaab0b03262e3e1375f81749 (diff)
downloadoauthlib-8931f3ad93fa051ca81cf53dd1b1c8f7169c8142.tar.gz
Use HttpLexer
-rw-r--r--oauthlib/oauth2/draft25/__init__.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/oauthlib/oauth2/draft25/__init__.py b/oauthlib/oauth2/draft25/__init__.py
index 0020174..abd4fbf 100644
--- a/oauthlib/oauth2/draft25/__init__.py
+++ b/oauthlib/oauth2/draft25/__init__.py
@@ -97,7 +97,9 @@ class Client(object):
For example, the "bearer" token type defined in
[I-D.ietf-oauth-v2-bearer] is utilized by simply including the access
- token string in the request::
+ token string in the request:
+
+ .. code-block:: http
GET /resource/1 HTTP/1.1
Host: example.com
@@ -105,7 +107,9 @@ class Client(object):
while the "mac" token type defined in [I-D.ietf-oauth-v2-http-mac] is
utilized by issuing a MAC key together with the access token which is
- used to sign certain components of the HTTP requests::
+ used to sign certain components of the HTTP requests:
+
+ .. code-block:: http
GET /resource/1 HTTP/1.1
Host: example.com