Permalink
Browse files

fixes issue with accept header in oauth requests

  • Loading branch information...
1 parent 0e38784 commit c3e3a60347dec04e748c8fc838b2b1ae0da731ee @zagraves zagraves committed Sep 2, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/com/yahoo/social/methodgroups/YOSMethodBase.as
@@ -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;

0 comments on commit c3e3a60

Please sign in to comment.