Advertisement
battlemidget

Untitled

Feb 29th, 2012
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.94 KB | None | 0 0
  1. Debug:
  2.  
  3. stdClass::__set_state(array(
  4. 'request' => 'POST /+request-token HTTP/1.0
  5. Host: staging.launchpad.net
  6. User-Agent: Drupal (+http://drupal.org/)
  7. Content-Length: 170
  8.  
  9. oauth_version=1.0&oauth_nonce=fcc97c291d4d19c539ea6135055ab436&oauth_timestamp=1330538626&oauth_consumer_key=drupallp&oauth_signature_method=PLAINTEXT&oauth_signature=%26',
  10. 'data' => 'oauth_token=2tsvsDdMLfK7sJXzvglv&oauth_token_secret=dXsCTw6sQ7XSKc8GGkxfSRB3WtpZGQwFPwxcHRStPPkvwKjgdCnC10NNpx36T1mSbb3X82pQDm57B44b',
  11. 'protocol' => 'HTTP/1.1',
  12. 'status_message' => 'OK',
  13. 'headers' =>
  14. array (
  15. 'date' => 'Wed, 29 Feb 2012 18:03:47 GMT',
  16. 'server' => 'zope.server.http (HTTP)',
  17. 'x-powered-by' => 'Zope (www.zope.org), Python (www.python.org)',
  18. 'x-content-type-warning' => 'guessed from content',
  19. 'content-type' => 'text/plain;charset=utf-8',
  20. 'content-length' => '132',
  21. 'vary' => 'Cookie,Authorization,Accept-Encoding',
  22. 'x-cache' => 'MISS from arsenic.canonical.com',
  23. 'x-cache-lookup' => 'MISS from arsenic.canonical.com:3128',
  24. 'via' => '1.0 staging.launchpad.net',
  25. 'x-scheme' => 'https',
  26. 'connection' => 'close',
  27. ),
  28. 'code' => '200',
  29. ))
  30.  
  31. in Launchpad->request() (line 138 of /usr/share/nginx/www/sites/all/modules/launchpad/launchpad.lib.php).
  32. Debug:
  33.  
  34. stdClass::__set_state(array(
  35. 'request' => 'POST /+access-token HTTP/1.0
  36. Host: staging.launchpad.net
  37. User-Agent: Drupal (+http://drupal.org/)
  38. Content-Length: 283
  39.  
  40. oauth_version=1.0&oauth_nonce=f30e5ec8550e081acdf37b6a5a950d6e&oauth_timestamp=1330538639&oauth_consumer_key=drupallp&oauth_token=2tsvsDdMLfK7sJXzvglv&oauth_signature_method=PLAINTEXT&oauth_signature=%26dXsCTw6sQ7XSKc8GGkxfSRB3WtpZGQwFPwxcHRStPPkvwKjgdCnC10NNpx36T1mSbb3X82pQDm57B44b',
  41. 'data' => 'oauth_token=FZzh41rhXj3xQdKbB2sV&oauth_token_secret=bclsfHKdS91vpCLNlzsWrrQZlxNtg5ctCR1Q1pD3xb6t1dZxv3l1V6ZDWgC0WxFd7HKl0wVM1vrdkmkJ&lp.context=None',
  42. 'protocol' => 'HTTP/1.1',
  43. 'status_message' => 'OK',
  44. 'headers' =>
  45. array (
  46. 'date' => 'Wed, 29 Feb 2012 18:03:59 GMT',
  47. 'server' => 'zope.server.http (HTTP)',
  48. 'x-powered-by' => 'Zope (www.zope.org), Python (www.python.org)',
  49. 'x-content-type-warning' => 'guessed from content',
  50. 'content-type' => 'text/plain;charset=utf-8',
  51. 'content-length' => '148',
  52. 'vary' => 'Cookie,Authorization,Accept-Encoding',
  53. 'x-cache' => 'MISS from arsenic.canonical.com',
  54. 'x-cache-lookup' => 'MISS from arsenic.canonical.com:3128',
  55. 'via' => '1.0 staging.launchpad.net',
  56. 'x-scheme' => 'https',
  57. 'connection' => 'close',
  58. ),
  59. 'code' => '200',
  60. ))
  61.  
  62. in Launchpad->request() (line 138 of /usr/share/nginx/www/sites/all/modules/launchpad/launchpad.lib.php).
  63. Debug:
  64.  
  65. stdClass::__set_state(array(
  66. 'request' => 'GET /1.0/people/+me HTTP/1.0
  67. Host: api.staging.launchpad.net
  68. User-Agent: Drupal (+http://drupal.org/)
  69.  
  70. ',
  71. 'data' => 'You need to be logged in to view this URL.',
  72. 'protocol' => 'HTTP/1.1',
  73. 'status_message' => 'Unauthorized',
  74. 'headers' =>
  75. array (
  76. 'date' => 'Wed, 29 Feb 2012 18:04:00 GMT',
  77. 'server' => 'zope.server.http (HTTP)',
  78. 'x-powered-by' => 'Zope (www.zope.org), Python (www.python.org)',
  79. 'content-length' => '42',
  80. 'content-type' => 'text/plain',
  81. 'x-cache' => 'MISS from arsenic.canonical.com',
  82. 'x-cache-lookup' => 'MISS from arsenic.canonical.com:3128',
  83. 'via' => '1.0 api.staging.launchpad.net',
  84. 'vary' => 'Accept-Encoding',
  85. 'connection' => 'close',
  86. ),
  87. 'code' => '401',
  88. 'error' => 'Unauthorized',
  89. ))
  90.  
  91. in Launchpad->request() (line 138 of /usr/share/nginx/www/sites/all/modules/launchpad/launchpad.lib.php).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement