Skip to content

Commit

Permalink
Set content-type
Browse files Browse the repository at this point in the history
  • Loading branch information
Novikov Andrey committed Dec 21, 2017
1 parent 2a6601b commit a4d4604
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Message/AbstractRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ public function setLanguage($value)
*/
public function getHeaders()
{
return [];
return [
"content-type" => 'application/json'
];
}

/**
Expand Down

0 comments on commit a4d4604

Please sign in to comment.