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 authentication because of the missing
line. Can someone explain this to me?
TX:
POST /sms/smsmessaging/outbound/tel%3A%2B32473042292/requests HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/4.0 (compatible; ICS)
Host: localhost
Content-Length: 0
RX:
HTTP/1.0 401 Unauthorized
Connection: close
Content-Length: 243
Content-Type: text/xml; charset=UTF-8
<EE06>
<Exception>
<Status>401</Status>
<Message>Authentication: Not Authenticated</Message>
<Code>1020</Code>
<Request>/sms/smsmessaging/outbound/tel:+32473042292/requests</Request>
</Exception>
</EE06>
--
mvg, Wilfried
http://www.mestdagh.biz
http://www.comfortsoftware.be
http://www.expertsoftware.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be