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 bad authentication or no credit, but not 401. > > Don't know about the general case of cof POST requests, > it must be in the RFC?
When authentication is required and 401 is returned it's not plain HTTP. They may intend to force callers to send credentials with the first request in order to safe some resources, that however should be documented somewhere. At least you need to know what authentication method is required before hand if the server never returns the accepted. -- Arno Garrels -- 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