Closed thomaserlang closed 11 years ago
Not yet implemented. What do you think best, following the pattern of Indy and throw exception or catch the exceptions and the client handles the return code Http?
I prefer the Indy way, which gives me access to the status code, error message and the data received from the server.
I agree with you. I will standardize the error handling by throwing exceptions. Yours improvements are welcome. Send me a pull request.
Fixed by commit 59ee5bcbb3d8b7349f6a6cb8f50bae9dbafe89cc issue #11
Is there a reason for no standardized error handling or is it just not implemented yet?
With indy it raises an error. WinHTTP does nothing.
Did I overlook something?