Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Commit

Permalink
fixes issue with accept header in oauth requests
Browse files Browse the repository at this point in the history
  • Loading branch information
zagraves committed Sep 2, 2010
1 parent 0e38784 commit c3e3a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/com/yahoo/social/methodgroups/YOSMethodBase.as
Expand Up @@ -256,7 +256,7 @@ package com.yahoo.social.methodgroups
protected function sendRequest(httpMethod:String, url:String, callback:Object, args:Object=null, headers:Array=null):void
{
if(!headers) headers = [];
headers.push( new URLRequestHeader("Accept","application/json") );
// headers.push( new URLRequestHeader("Accept","application/json") );

var connection:OAuthConnection = OAuthConnection.fromConsumerAndToken(this.consumer, this.token);
connection.realm = OAUTH_REALM;
Expand Down

0 comments on commit c3e3a60

Please sign in to comment.