From 242fa48358f62983c6e8f1b3dbb331997546aa17 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 4 Feb 2023 20:45:43 +0400 Subject: [PATCH] README update. --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 29fd090..27ac396 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# httpprocprobed Ver 2.0.0 +# httpprocprobed Ver 2.0.1 License: MIT+NIGGER. This utility provides a HTTP `/processes` GET endpoint that returns a list of processes, and if they are currently running or not. -There are currently three output formats available: JSON, XML, plain text. +There are currently three output formats available: JSON, XML, and plain text. JSON is a default format if `Accept` header didn't provided, or did with value `application/json`. Its form is `{"process":true|false, ...}`. @@ -16,10 +16,10 @@ XML is provided if `Accept: application/xml` header was given. Its form is Plain text is provided if `Accept: text/plain` header was given. Its form is a comma separated list of ONLY running process' names. -Configuration file is a simple key = value storage consisting of `listen_address` string -field in form `"[]:"`. `indented_output` bool in form `true|false`, to -enable indentation of JSON and XML output. And `processes` is a space separated array -of process names. +Configuration file is a simple `key = value` storage consisting of +`listen_address` string field in form `"[]:"`. `indented_output` +boolean in form `true|false`, to enable indentation of JSON and XML output. +And `processes` is a space separated array of process names. ## Installation