Go to file
Javier Sanchez Parra 8e81b8091e Search the key in the parsed json
Testing the ogClient I found that if a value of the json match a key the
ogClient has an exception. For example:

	body = "... shell/run {"run": "fdisk -l"} ..."

	CURRENT
	Enters in
	if "disk" in body:...
	if "run" in body:...

	EXPECTED
	Enters in
	if "run" in body:...

This commit changes the behaviour to search for the keys in the
dictionary returned by json.loads() instead of searching in the raw
string. This way the ogClient looks for the keys without searching in
the values.
2020-02-26 17:55:03 +01:00
cfg Launch the graphical interface 2020-02-24 14:53:42 +01:00
src Search the key in the parsed json 2020-02-26 17:55:03 +01:00
tests add space after Content-Length and Content-Type 2020-01-28 09:14:13 +01:00
.gitignore Create new ogClient 2020-01-19 19:50:44 +01:00
LICENSE Initial commit 2020-01-19 19:50:43 +01:00
main.py Launch the graphical interface 2020-02-24 14:53:42 +01:00