Skip to content

Commit

Permalink
Zend\Mvc\Controller\AbstractRestController:
Browse files Browse the repository at this point in the history
- fixed content-type header for hal+json
  • Loading branch information
ralphschindler committed Jan 11, 2013
1 parent 6acf370 commit 82feaab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Mvc/Controller/AbstractRestfulController.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ abstract class AbstractRestfulController extends AbstractController
*/
protected $contentTypes = array(
self::CONTENT_TYPE_JSON => array(
'application/application/hal+json',
'application/hal+json',
'application/json'
)
);
Expand Down

0 comments on commit 82feaab

Please sign in to comment.