Skip to content

Instantly share code, notes, and snippets.

@nictuku
Created August 22, 2010 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nictuku/544467 to your computer and use it in GitHub Desktop.
Save nictuku/544467 to your computer and use it in GitHub Desktop.
POST /accounts/OAuthGetRequestToken HTTP/1.1
Host: www.google.com
User-Agent: Go http package
Connection: close
Transfer-Encoding: chunked
Authorization: OAuth oauth_callback="http%3A%2F%2Flocalhost%3A8080%2Fcallback%2Foauth", oauth_consumer_key="cetico.org", oauth_nonce="5577006791947779410", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1282521243", oauth_version="1.0", oauth_signature="pVrdPTu2u5nYy2x5UgJZCTeKF6w%3D"
Content-Type: application/x-www-form-urlencoded
0
HTTP/1.0 501 Not Implemented
Server: squid/2.5.STABLE14
Mime-Version: 1.0
Date: Mon, 23 Aug 2010 07:09:08 GMT
Content-Type: text/html
Content-Length: 1113
Expires: Mon, 23 Aug 2010 07:09:08 GMT
X-Squid-Error: ERR_UNSUP_REQ 0
X-Cache: MISS from igw-ipcop.netarcs.com
Connection: close
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
<STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR noshade size="1px">
<P>
While trying to retrieve the URL:
<A HREF="http://www.google.com/accounts/OAuthGetRequestToken">http://www.google.com/accounts/OAuthGetRequestToken</A>
<P>
The following error was encountered:
<UL>
<LI>
<STRONG>
Unsupported Request Method and Protocol
</STRONG>
</UL>
<P>
Squid does not support all request methods for all access protocols.
For example, you can not POST a Gopher request.
<P>Your cache administrator is <A HREF="mailto:webmaster">webmaster</A>.
<BR clear="all">
<HR noshade size="1px">
<ADDRESS>
Generated Mon, 23 Aug 2010 07:09:08 GMT by igw-ipcop.netarcs.com (squid/2.5.STABLE14)
</ADDRESS>
</BODY></HTML>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment