summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/request.esp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/request.esp b/services/request.esp
index ae106be8ea..03226f975d 100644
--- a/services/request.esp
+++ b/services/request.esp
@@ -322,7 +322,7 @@ scriptTransportId = jsonrpc.Constant.ScriptTransport.NotInUse;
/* What type of request did we receive? */
if (request["REQUEST_METHOD"] == "POST" &&
- request["CONTENT_TYPE"] == "text/json")
+ request["CONTENT_TYPE"] == "application/json")
{
/* We found literal POSTed json-rpc data (we hope) */
input = request["POST_DATA"];