Go to file
Alvaro Neira Ayuso 2d72f00d95 Send bad request when the APIRest operation is not supported
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
2020-01-19 19:50:44 +01:00
cfg Create new ogClient 2020-01-19 19:50:44 +01:00
src Send bad request when the APIRest operation is not supported 2020-01-19 19:50:44 +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 Execute socket loop on run socket function 2020-01-19 19:50:44 +01:00