瀏覽代碼

fixed content type header

develop
Robin Thoni 8 年之前
父節點
當前提交
bdcab8906a
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/Utils/Controller/LuticateApplication.php

+ 1
- 1
src/Utils/Controller/LuticateApplication.php 查看文件

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

Loading…
取消
儲存