Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rename getURI to get_uri in restRequest | OpenGnSys Support Team | 2020-03-09 | 1 | -1/+1 |
| | |||||
* | use lowercase attribute name in restRequest | OpenGnSys Support Team | 2020-03-09 | 1 | -13/+13 |
| | |||||
* | Rename operation to method | OpenGnSys Support Team | 2020-02-26 | 1 | -3/+3 |
| | | | | As defined by the HTTP standard. | ||||
* | Search the key in the parsed json | Javier Sanchez Parra | 2020-02-26 | 1 | -13/+12 |
| | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | remove unused getters | OpenGnSys Support Team | 2020-02-21 | 1 | -18/+0 |
| | |||||
* | Fix parseGetConf(...) configuration parsing | Roberto Hueso Gómez | 2020-02-03 | 1 | -1/+1 |
| | | | | This patch also reformats the response to the /refresh command. | ||||
* | (Clean-Up) Rename HTTPParser file to restRequest | Alvaro Neira Ayuso | 2020-01-19 | 1 | -0/+165 |