diff options
author | Devin Sevilla <dasevilla@gmail.com> | 2013-05-27 09:47:42 -0700 |
---|---|---|
committer | Devin Sevilla <dasevilla@gmail.com> | 2013-05-27 09:47:42 -0700 |
commit | 8931f3ad93fa051ca81cf53dd1b1c8f7169c8142 (patch) | |
tree | ce1ff5d37dde897de2521529c3a6f2d36eeee106 | |
parent | d1e2b1df73eaeebafaab0b03262e3e1375f81749 (diff) | |
download | oauthlib-8931f3ad93fa051ca81cf53dd1b1c8f7169c8142.tar.gz |
Use HttpLexer
-rw-r--r-- | oauthlib/oauth2/draft25/__init__.py | 8 |
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 |