Hi Cosmin,
I'm not sure I understand what you mean.
Sorry, I wasn't terribly clear or explicit - end of the working day!
When I said "http server response code", I should have been more specific - the HTTP Status Code, which is returned as an HTTP Header as part of the reponse stream, as defined in
RFC2616 which (defines the HTTP/1.1 Protocol) - specifically
Section 6.1.1
In other words, the 404 error that I'm sure we're all familiar with when we visit a web link that no longer exists - here's a simple
list of HTTP Status Codes
I was planning to use that HTTP Status code to control the flow of part of the installer (e.g. if I received a 401 code "Unauthorized", I'd stop the installer; if I received a 404, I'd display an error dialog), as it seems to give me exactly what I need without re-implementing a status line in the text of the response.
I imagine from your response, then, that this is not implemented in AI - I'll just have to (re) implement my own protocol in the response text itself.
Importantly, though, how can I tell if the HTTP post was successful at all? What if I posted to a host (web server) that doesn't exist , or that couldn't be accessed due to network errors - is any error code set?
Best Wishes,
Charles.