|
|
@@ -159,7 +159,7 @@ class RequestHandlerComponent extends Component {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- $accepts = $this->response->mapType($this->request->parseAccept());
|
|
|
+ $accepts = $this->response->mapType($accept);
|
|
|
$preferedTypes = current($accepts);
|
|
|
if (array_intersect($preferedTypes, array('html', 'xhtml'))) {
|
|
|
return null;
|