I'm testing the POST request on the http_client sample using the board qemu_cortex_m3 on Linux and I was wondering if it is posting correctly?
I'm running the http-server.py from net-tools along with everything else that is necessary to get it working (loop-socat.sh and loop-slip-tap.sh).
Everything is successful on both sides, the client successfully posts to the server and server responds with the status OK.
However, I can't seem to get any content from the request on the server side. I can't get the content-length using self.headers in the http-server.py file as it only returns the Host and nothing else.
I'm not sure if I'm getting the content of the POST request correctly from python, or Zephyr's http_client sample POST function isn't working as intended.
Any help would be much appreciated.