Skip to content

Commit

Permalink
Remove overloading of the Authorization header, OAuth2_Request uses B…
Browse files Browse the repository at this point in the history
…earer headers instead
  • Loading branch information
Woody Gilk committed Dec 19, 2011
1 parent 2720422 commit 16c2d6c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions classes/kohana/oauth2/provider/mailchimp.php
Expand Up @@ -38,8 +38,6 @@ public function metadata(OAuth2_Token_Access $token, array $params = NULL)

public function execute(OAuth2_Request $request, array $options = NULL)
{
$request->send_header = 'OAuth';

$options[CURLOPT_HTTPHEADER][] = 'Expect:';
$options[CURLOPT_HTTPHEADER][] = 'Accept: application/json';

Expand Down

0 comments on commit 16c2d6c

Please sign in to comment.