summaryrefslogtreecommitdiffstats
path: root/src/ogProcess.py
Commit message (Collapse)AuthorAgeFilesLines
* Send bad request when the APIRest operation is not supportedAlvaro Neira Ayuso2020-01-191-0/+4
| | | | | | | | | | | | | | Our program sends always the HTTP message: HTTP/1.0 200 OK but if the operation sent is not supported, we are sending the same correct message. This patch add the support to check if the message is supported. If the message is not supported, we are going to send: HTTP/1.0 400 Bad request\r\n\r\n Otherwise, in operations supported: HTTP/1.0 200 OK
* Add new process support for reboot messageAlvaro Neira Ayuso2020-01-191-0/+8
|
* Add ogProcess and ogOperation for linuxAlvaro Neira Ayuso2020-01-191-0/+20
Thoses new classes allows us to process and execute commands from server side sent using HTTP format.