I was trying to download a file from a server using mbedtls. used the following GET request
GET /xxxxxxxxxxxxxxx.xml HTTP/1.1
Host: example_xxxxx.com
Connection: keep-alive
The server responded with status 403
When I add a "User-Agent" header filed, it started working.
Is User-Agent mandatory for HTTP GET requests as per RFC specification.