summaryrefslogtreecommitdiffstats
path: root/tests/units/test_0008_refresh.py
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2020-01-27 21:22:39 +0100
committerAlvaro Neira Ayuso <aneira@soleta.eu>2020-01-28 09:14:13 +0100
commitf86999da0c150d2a6976ba69a352164b55c52639 (patch)
tree3bba6dd489a4268a9c927f272fa99d9064528780 /tests/units/test_0008_refresh.py
parent7196e7198efa6805a566842522c34096bef122a2 (diff)
add space after Content-Length and Content-Type
ogAdmServer needs this space to work fine.
Diffstat (limited to 'tests/units/test_0008_refresh.py')
-rw-r--r--tests/units/test_0008_refresh.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/test_0008_refresh.py b/tests/units/test_0008_refresh.py
index b8f32d5..4d71a2b 100644
--- a/tests/units/test_0008_refresh.py
+++ b/tests/units/test_0008_refresh.py
@@ -14,8 +14,8 @@ import json
class TestRefreshMethods(unittest.TestCase):
def test_correct_get(self):
- req = 'GET /refresh HTTP/1.0\r\nContent-Length:0\r\n' + \
- 'Content-Type:application/json\r\n\r\n'
+ req = 'GET /refresh HTTP/1.0\r\nContent-Length: 0\r\n' + \
+ 'Content-Type: application/json\r\n\r\n'
c = Client()
s = Server()
s.connect()