zendframework / ZendOAuth

BSD 3-Clause "New" or "Revised" License
19 stars 22 forks source link

AccessToken ContentType Header #19

Closed jorjdaniel closed 10 years ago

jorjdaniel commented 10 years ago

I used today the ZendOauth module and I received an error that says the Content-Type is misspelled (it appears as ContentType instead of Content-Type).

I made a debug and I find in ZendOAuth/library/ZendOAuth/Http/AccessToken.php the following line (112) :

$client->setHeaders(array('ContentType' => Http\Client::ENC_URLENCODED));

I think there must be Content-Type.

Maks3w commented 10 years ago

Duplicate #18