Browse Source

fixed content type header

develop
Robin Thoni 8 years ago
parent
commit
bdcab8906a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/Utils/Controller/LuticateApplication.php

+ 1
- 1
src/Utils/Controller/LuticateApplication.php View File

116
         
116
         
117
         $r = $this->dispatch($httpMethod, $url, $parameters);
117
         $r = $this->dispatch($httpMethod, $url, $parameters);
118
         http_response_code($r->getStatusCode());
118
         http_response_code($r->getStatusCode());
119
-        header("content-type", "application/json");
119
+        header("content-type: application/json");
120
         echo $r->__toString();
120
         echo $r->__toString();
121
     }
121
     }
122
     
122
     

Loading…
Cancel
Save