File fix-http-status-code.patch of Package cobbler
From a9eac508d6aaa70e51b9dc3a9d277e1b33f51a46 Mon Sep 17 00:00:00 2001
From: Michael Calmer <mc@suse.de>
Date: Sat, 23 Mar 2019 14:33:20 +0100
Subject: [PATCH] fix http status code
---
svc/services.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/svc/services.py b/svc/services.py
index b0fe7816..7001e025 100755
--- a/svc/services.py
+++ b/svc/services.py
@@ -99,7 +99,7 @@ def application(environ, start_response):
# TODO: We could do proper exception handling here and return
# corresponding HTTP status codes:
- status = "100 OK"
+ status = "200 OK"
# Execute corresponding operation on the CobblerSvc object:
func = getattr(cw, mode)
try:
--
2.16.4