Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIndyHTTPServer 505 error
#2
(02-04-2019, 07:41 AM)admctfdotcom Wrote: I am using client-side component that surely composes HTTP 1.1 compliant request

Are you SURE about that? Did you actually LOOK at the request? Or are you just ASSUMING?

(02-04-2019, 07:41 AM)admctfdotcom Wrote: yet the server responses with Error 505 - HTTP version not supported.

Nothing in TIdHTTPServer's internal logic uses response code 505, so it has to be getting set by the server's application code instead. For example, maybe the server is receiving an HTTP 1.0 request and wants to only accept HTTP 1.1 requests. That could be done in the TIdHTTPServer.OnHeadersAvailable event.

There is really no way to answer this without seeing the actual request + response, and/or the actual server code.

Reply


Messages In This Thread
TIndyHTTPServer 505 error - by admctfdotcom - 02-04-2019, 07:41 AM
RE: TIndyHTTPServer 505 error - by rlebeau - 02-04-2019, 08:27 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)