zendframework / ZendOAuth

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

Invalid header line for Content-Type string: "ContentType" #18

Closed vchumakov closed 10 years ago

vchumakov commented 10 years ago

Zend/Http/Header/ContentType.php:27 say "Invalid header line for Content-Type string: "ContentType""

ZendOAuth/Http/AccessToken.php:112 $client->setHeaders(array('ContentType' => Http\Client::ENC_URLENCODED));

must be $client->setHeaders(array('Content-Type' => Http\Client::ENC_URLENCODED));

Maks3w commented 10 years ago

@vchumakov Could you send a pr with the patch?