Hello,
I'm trying to POST to a server that needs authentication. I expect a 401
from the server with in the header something like:
WWW-Authenticate: Basic Realm=/something
But it is not in the response. Also what does the 'connection: close' mean?
I think the THttpCli does not send an
I'm trying to POST to a server that needs authentication. I expect
a 401 from the server with in the header something like:
WWW-Authenticate: Basic Realm=/something
This is a pure guess, but maybe the WWW-Authenticate header is only
returned for GET requests, with POST you are supposed to
Hi Angus,
Yes indeed, I found out already. The authentication is an argument in the
POST command. When it is invalid or missing the server returns a 401 with
the missing header line. Is that a bug in the server?
--
mvg, Wilfried
http://www.mestdagh.biz
http://www.comfortsoftware.be
Angus Robertson - Magenta Systems Ltd wrote:
The authentication is an argument in the POST command. When it is
invalid or missing the server returns a 401 with
the missing header line. Is that a bug in the server?
The two SMS providers I'm testing provide a range of error messages
including