Skip to content

Commit

Permalink
fix HTTP 406 status text
Browse files Browse the repository at this point in the history
  • Loading branch information
KEIII committed Aug 29, 2016
1 parent 9d07842 commit ba98db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tobiassjosten/Silex/ResponsibleListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function onKernelView(GetResponseForControllerResultEvent $event)
}

$event->setResponse(new Response(
'Unsupported media type',
'Not Acceptable',
406,
array('Content-Type' => 'text/plain')
));
Expand Down

0 comments on commit ba98db0

Please sign in to comment.