We use HTTP GET.
We are hoping for a suggestion to bypass this restriction, as the application needs to send updates to the Ntrip caster.
Could you post an example message exchange between a working server and client where the client transmits a request body with a GET request? In specific, how does the client inform the server about the length of such request body? What encoding does it use for the body?
The header:
------------------------------------
GET /mountpoint HTTP/1.1
Host: some.ntrip.caster
Ntrip-Version: Ntrip/2.0
User-Agent: NTRIP client X/1.0
Connection: close
-----------------------------------------
<some time later>
$GPGGA,135155.00,5050.89389,N,00443.90698,E,5,19,0 .6,81.53,M,47.39,M,27.9,0268*46
How does the server determine where the request ends?
Basically I think your only choice is to implement your own client from scratch based on QTcpSocket as what you require does not conform to HTTP/1.1 standards. The syntax is fine but the semantics are not, QNetworkAccessManager is not going to handle that for you without heavy workarounds.
Bookmarks