diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-01-27 21:22:39 +0100 |
---|---|---|
committer | Alvaro Neira Ayuso <aneira@soleta.eu> | 2020-01-28 09:14:13 +0100 |
commit | f86999da0c150d2a6976ba69a352164b55c52639 (patch) | |
tree | 3bba6dd489a4268a9c927f272fa99d9064528780 /tests/units/test_0005_other_requests.py | |
parent | 7196e7198efa6805a566842522c34096bef122a2 (diff) |
add space after Content-Length and Content-Type
ogAdmServer needs this space to work fine.
Diffstat (limited to 'tests/units/test_0005_other_requests.py')
-rw-r--r-- | tests/units/test_0005_other_requests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/test_0005_other_requests.py b/tests/units/test_0005_other_requests.py index 0a4d222..d7f204e 100644 --- a/tests/units/test_0005_other_requests.py +++ b/tests/units/test_0005_other_requests.py @@ -14,9 +14,9 @@ class TestOtherRequests(unittest.TestCase): def test_non_existent_function(self): post_req = 'POST /this_function_does_not_exist HTTP/1.0\r\n' + \ - 'Content-Length:0\r\nContent-Type:application/json\r\n\r\n' + 'Content-Length: 0\r\nContent-Type: application/json\r\n\r\n' get_req = 'GET /this_function_does_not_exist HTTP/1.0\r\n' + \ - 'Content-Length:0\r\nContent-Type:application/json\r\n\r\n' + 'Content-Length: 0\r\nContent-Type: application/json\r\n\r\n' c = Client() s = Server() s.connect() |