--- Revision None +++ Revision 646262396137 @@ -0,0 +1,59 @@ +GET /_oauth/request_token?oauth_body_hash=2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D&oauth_nonce=85053887&oauth_timestamp=1303969275&oauth_consumer_key=fnord&oauth_signature_method=HMAC-SHA1&oauth_version=1.0&oauth_token=fnorder&oauth_signature=%2BJnvkMDGLWwDygoCEQ28Q5REL3o%3D HTTP/1.1 +Host: localhost:5984 +accept-encoding: gzip, deflate +user-agent: Python-httplib2/$Rev$ + +HTTP/1.1 200 OK +Server: MochiWeb/1.0 (Any of you quaids got a smint?) +Date: Thu, 28 Apr 2011 05:41:15 GMT +Content-Length: 55 + +oauth_token=requestkey&oauth_token_secret=requestsecretGET /_oauth/authorize?oauth_body_hash=2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D&oauth_nonce=87699909&oauth_timestamp=1303969287&oauth_consumer_key=fnord&oauth_signature_method=HMAC-SHA1&oauth_version=1.0&oauth_token=fnorder&oauth_token=fnorder&oauth_signature=gc0ljTydr3sh%2FOaHM4FJE7hmOl4%3D HTTP/1.1 +Host: localhost:5984 +accept-encoding: gzip, deflate +user-agent: Python-httplib2/$Rev$ + +HTTP/1.1 200 OK +Server: MochiWeb/1.0 (Any of you quaids got a smint?) +Date: Thu, 28 Apr 2011 05:41:27 GMT +Content-Length: 55 + +oauth_token=requestkey&oauth_token_secret=requestsecretGET /_session?oauth_body_hash=2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D&oauth_nonce=39639226&oauth_timestamp=1303969294&oauth_consumer_key=fnord&oauth_signature_method=HMAC-SHA1&oauth_version=1.0&oauth_token=fnorder&oauth_signature=YRqqGEXYG9UeYmF6ZIOlic919RM%3D HTTP/1.1 +Host: localhost:5984 +accept-encoding: gzip, deflate +user-agent: Python-httplib2/$Rev$ + +HTTP/1.1 200 OK +Server: CouchDB/1.1.0a1095237 (Erlang OTP/R14B02) +Date: Thu, 28 Apr 2011 05:41:34 GMT +Content-Type: text/plain;charset=utf-8 +Content-Length: 175 +Cache-Control: must-revalidate + +{"ok":true,"userCtx":{"name":"admin","roles":["_admin"]},"info":{"authentication_db":"_users","authentication_handlers":["oauth","cookie","default"],"authenticated":"oauth"}} +GET /_session?oauth_body_hash=2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D&oauth_nonce=27944453&oauth_timestamp=1303969300&oauth_consumer_key=fnord&oauth_signature_method=HMAC-SHA1&oauth_version=1.0&oauth_token=fnorder&oauth_signature=%2FixNRIcpir9%2F0ROMWH%2F53iusMg4%3D&foo=bar HTTP/1.1 +Host: localhost:5984 +accept-encoding: gzip, deflate +user-agent: Python-httplib2/$Rev$ + +HTTP/1.1 200 OK +Server: CouchDB/1.1.0a1095237 (Erlang OTP/R14B02) +Date: Thu, 28 Apr 2011 05:41:40 GMT +Content-Type: text/plain;charset=utf-8 +Content-Length: 175 +Cache-Control: must-revalidate + +{"ok":true,"userCtx":{"name":"admin","roles":["_admin"]},"info":{"authentication_db":"_users","authentication_handlers":["oauth","cookie","default"],"authenticated":"oauth"}} +HEAD /_session?foo=bar HTTP/1.1 +Host: localhost:5984 +accept-encoding: gzip, deflate +authorization: OAuth realm="http://localhost:5984", oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_nonce="13541208", oauth_timestamp="1303969304", oauth_consumer_key="fnord", oauth_signature_method="HMAC-SHA1", oauth_version="1.0", oauth_token="fnorder", oauth_signature="7APAj9V8Ln3IB%2Fd9b%2F8qvtbthFw%3D" +user-agent: Python-httplib2/$Rev$ + +HTTP/1.1 500 Internal Server Error +Server: CouchDB/1.1.0a1095237 (Erlang OTP/R14B02) +Date: Thu, 28 Apr 2011 05:41:44 GMT +Content-Type: text/plain;charset=utf-8 +Content-Length: 53 +Cache-Control: must-revalidate +