summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ogRest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ogRest.py b/src/ogRest.py
index d4521b8..f9913c8 100644
--- a/src/ogRest.py
+++ b/src/ogRest.py
@@ -50,8 +50,8 @@ class restResponse():
self.msg += '\r\n'
if jsonResp:
- self.msg += 'Content-Length:' + str(len(jsonResp.dumpMsg()))
- self.msg += '\r\nContent-Type:application/json'
+ self.msg += 'Content-Length: ' + str(len(jsonResp.dumpMsg()))
+ self.msg += '\r\nContent-Type: application/json'
self.msg += '\r\n\r\n' + jsonResp.dumpMsg()
else:
self.msg += '\r\n'