[PATCH] doc: Add hint to general HTTP server mock implementation

3 views
Skip to first unread message

Christian Storm

unread,
Nov 28, 2022, 5:17:28 AM11/28/22
to swup...@googlegroups.com, Christian Storm
Signed-off-by: Christian Storm <christi...@siemens.com>
---
doc/source/suricatta.rst | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/source/suricatta.rst b/doc/source/suricatta.rst
index e207597..e3361da 100644
--- a/doc/source/suricatta.rst
+++ b/doc/source/suricatta.rst
@@ -160,7 +160,8 @@ Support for general purpose HTTP server
This is a very simple backend that uses standard HTTP response codes to signal if
an update is available. There are closed source backends implementing this interface,
but because the interface is very simple interface, this server type is also suitable
-for implementing an own backend server.
+for implementing an own backend server. For inspiration, there's a simple (mock)
+server implementation available in ``examples/suricatta/server_general.py``.

The API consists of a GET with Query parameters to inform the server about the installed version.
The query string has the format:
--
2.38.1

Reply all
Reply to author
Forward
0 new messages