Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Networking and Web Programming
»
Invalid protocol version in response? What does it mean?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Reporting a Bug? in Strin...
by
Bart
[
Today
at 01:48:34 am]
QuestionDlg does strange ...
by
Martin_fr
[
Today
at 01:16:29 am]
SoundTracker Player Libra...
by
hukka
[
Today
at 01:01:39 am]
it2play - IT/S3M module r...
by
hukka
[
Today
at 12:47:05 am]
We are starting to use La...
by
BlueIcaro
[
Today
at 12:09:46 am]
[ANN] fpGUI Toolkit v2.0....
by
cdbc
[February 14, 2026, 11:44:49 pm]
Reflection and Review in ...
by
jwdietrich
[February 14, 2026, 09:53:31 pm]
How to determine the unkn...
by
Roland57
[February 14, 2026, 09:42:26 pm]
My AGGPas examples
by
cdbc
[February 14, 2026, 09:38:34 pm]
fpGUI Toolkit v2.0.1 has ...
by
cdbc
[February 14, 2026, 09:32:46 pm]
LazReport
by
dseligo
[February 14, 2026, 08:51:08 pm]
Howto : Double buffer wit...
by
biologic
[February 14, 2026, 06:42:42 pm]
how to enable multihelper...
by
PascalDragon
[February 14, 2026, 06:30:05 pm]
Free Pascal for a small e...
by
devEric69
[February 14, 2026, 06:19:36 pm]
Fast Canvas Library V1.05...
by
backprop
[February 14, 2026, 05:46:10 pm]
Are the source files for ...
by
Derz
[February 14, 2026, 05:12:27 pm]
[ANN] PasBuild 1.3.0 rele...
by
Graeme
[February 14, 2026, 05:02:32 pm]
Frustrating Error When us...
by
jamie
[February 14, 2026, 04:22:29 pm]
; after then
by
Curt Carpenter
[February 14, 2026, 04:09:29 pm]
Help needed compiling
by
jamie
[February 14, 2026, 03:58:08 pm]
Does not go out of functi...
by
Martin_fr
[February 14, 2026, 03:43:52 pm]
How to start LAMW emulato...
by
RaketeMike
[February 14, 2026, 12:44:46 pm]
ThorVG - test (lightweigh...
by
Antek
[February 14, 2026, 12:35:09 pm]
Questions from a Windows ...
by
hedgehog
[February 14, 2026, 12:20:15 pm]
[ANN] fpGUI Toolkit v2.0....
by
Fred vS
[February 14, 2026, 11:43:13 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Invalid protocol version in response? What does it mean? (Read 4950 times)
vonskie
Full Member
Posts: 186
Invalid protocol version in response? What does it mean?
«
on:
September 08, 2017, 05:08:02 pm »
9:57:42 AM 09/08/2017 GET:
http://rammb-slider.cira.colostate.edu/data/json/goes-16/full_disk/band_13/available_dates.json
9:58:32 AM 09/08/2017 ERROR: Exception class: EHTTPClient | Message: Invalid protocol version in response: ""
Logged
balazsszekely
Guest
Re: Invalid protocol version in response? What does it mean?
«
Reply #1 on:
September 08, 2017, 05:29:51 pm »
This works for me. The file is downloaded in your project directory:
Code: Pascal
[Select]
[+]
[-]
uses
fphttpclient
;
procedure
TForm1
.
Button1Click
(
Sender
:
TObject
)
;
var
FHTTPClient
:
TFPHTTPClient
;
begin
FHTTPClient
:
=
TFPHTTPClient
.
Create
(
nil
)
;
try
FHttpClient
.
AllowRedirect
:
=
True
;
try
FHTTPClient
.
Get
(
'http://rammb-slider.cira.colostate.edu/data/json/goes-16/full_disk/band_13/available_dates.json'
,
'available_dates.json'
)
;
except
end
;
if
FHTTPClient
.
ResponseStatusCode
=
200
then
ShowMessage
(
'Successfully downloaded!'
)
;
finally
FHTTPClient
.
Free
;
end
;
end
;
Logged
vonskie
Full Member
Posts: 186
Re: Invalid protocol version in response? What does it mean?
«
Reply #2 on:
September 11, 2017, 08:45:29 am »
Thank you for the sample, this site is really busy...
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Networking and Web Programming
»
Invalid protocol version in response? What does it mean?
TinyPortal
© 2005-2018