Re: [twsocket] HTTP 401 missing header line

2011-09-19 Thread Maurizio Lotauro
Scrive Wilfried Mestdagh wilfr...@mestdagh.biz: 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? Probably it is a bug in the

Re: [twsocket] HTTP 401 missing header line

2011-09-18 Thread Angus Robertson - Magenta Systems Ltd
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

Re: [twsocket] HTTP 401 missing header line

2011-09-18 Thread Wilfried Mestdagh
://www.expertsoftware.be -Oorspronkelijk bericht- Van: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] Namens Angus Robertson - Magenta Systems Ltd Verzonden: zondag 18 september 2011 15:10 Aan: twsocket@elists.org Onderwerp: Re: [twsocket] HTTP 401 missing header line

Re: [twsocket] HTTP 401 missing header line

2011-09-18 Thread Arno Garrels
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