[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Stream error in framing layer
[Thread Prev] | [Thread Next]
- Subject: Re: Stream error in framing layer
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Sat, 3 Aug 2024 21:21:24 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 02/08/2024 à 14:18, BB a écrit :
I use a JSON download via httpclient to retrieve some live data. Recently I have been getting a consistent failure with the heading "error". This error, according to the internet pundits is something to do with the server doing http2 badly.Their answer is to force curl (via httpclient) to use headers to force the server to reply in http1.1It seems that I need to set some header to use the value "CURL_HTTP_VERSION_1_1" somehow. I have not been able to work out how to this, so has anyone got any clues?tia b
You can specify the headers of your request with the 'Header' argument of the 'Get()' or 'Post()' method. Will it solve your problem?
-- Benoît Minisini.
Re: Stream error in framing layer | BB <adamnt42@xxxxxxxxx> |
Stream error in framing layer | BB <adamnt42@xxxxxxxxx> |