Commit b02c1fb6 authored by Julie gauthier's avatar Julie gauthier

Merge branch '683-maj-3-4-adopting-immutable-responses' into 'develop'

Resolve "maj 3.4 Adopting Immutable Responses"

Closes #683

See merge request !256
parents 0a0ba3eb a03e56fe
Pipeline #5245 failed with stage
in 1 minute and 42 seconds
......@@ -49,7 +49,7 @@ class AppView extends View
$result = parent::render($view, $layout);
if (true || $this->request->is('json')) {
$this->response->header('Content-Type', 'application/json; charset=UTF-8');
$this->response->withHeader('Content-Type', 'application/json; charset=UTF-8');
}
return $result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment