Created
October 25, 2010 04:48
-
-
Save chapel/644420 to your computer and use it in GitHub Desktop.
jsdom issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if( orderedParameters[i][0].match('^oauth_') == "oauth_") { | |
authHeader+= this._encodeData(orderedParameters[i][0])+"=\""+ this._encodeData(orderedParameters[i][1])+"\","; | |
console.log('true'); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_header: 'GET /1/statuses/sample.json HTTP/1.1\r\nAuthorization: OAuth\r\nHost: stream.twitter.com\r\nAccept: */*\r\nConnection: close\r\nUser-Agent: Node authentication\r\nContent-length: 0\r\nContent-Type: application/x-www-form-urlencoded\r\n\r\n' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_header: 'GET /1/statuses/sample.json HTTP/1.1\r\nAuthorization: OAuth oauth_consumer_key="asdf",oauth_nonce="asdf",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1287981856",oauth_token="asdf",oauth_version="1.0A",oauth_signature="asdf%3D"\r\nHost: stream.twitter.com\r\nAccept: */*\r\nConnection: close\r\nUser-Agent: Node authentication\r\nContent-length: 0\r\nContent-Type: application/x-www-form-urlencoded\r\n\r\n' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment