Defines the auto reply option for response methods.


   val INTEGER )
  1. val defines auto-reply when TRUE.


The setAutoReply() method defines whether getResponse() or getAsyncResponse() will automatically perform another HTTP GET request if the response contains HTTP Authentication, Proxy Authentication or HTTP redirect data.

Available for GET method and the HTTP HEAD method.

The default is TRUE.


On iOS devices, setAutoReply() is ignored for redirection in synchronous requests. The iOS HTTP stack does not allow you to set an auto reply option when doing synchronous requests.

In case of error, the method throws an exception and sets the status variable. Depending on the error, a human-readable description of the problem is available in the sqlca.sqlerrm register. See Error handling in GWS calls (status).