summaryrefslogtreecommitdiffstats
path: root/src/HTTPParser.py
diff options
context:
space:
mode:
authorAlvaro Neira Ayuso <aneira@soleta.eu>2020-01-13 19:01:34 +0100
committerAlvaro Neira Ayuso <alvaroneay@gmail.com>2020-01-19 19:50:44 +0100
commit683afa64657bf661f719e4e646457353199f38ec (patch)
treed15096be3c950b8f754630b3c6554dd8f7eaed81 /src/HTTPParser.py
parent0f32b9ca88d0870e717549ffe14d9717a1b034e4 (diff)
Improve software command response behavior
During our tests, we found some limitation during the execution of the software command. We don't manage errors during the execution of this command. Moreover, the server needs some information in case that everything is OK. This patch modified the code for controlling the errors during the execution, returning an "Internal Error" http message (500). Moreover, in case that everything is OK, ogClient sends a message with this json body: { "disk" : "0", "partition" : "1", "software" : "xyz" } "xyz" will be the output saved during the execution of InventarioSoftware in a specific path.
Diffstat (limited to 'src/HTTPParser.py')
0 files changed, 0 insertions, 0 deletions