Reading Response Header
Reading Response Header

Hi,
First of all .... thanks for the fantastic work done :-))
Now, the problem. I need to read the response header from the server to get a functional error message to the end user and I have no idea how to retrieve that. Can someone help.
In practice I make a POST call to a SAS server and as we're using sessions it can be that the session has expired in the meantime. At that point the server returns a response code 200 (valid http response), but in the response header you have a key with the SAS return code to indicate why the data was not returned.