Hi,
Actually url ttt.com exists and returns status code 200 for http request thus why it is successful. Try with URL that really does not exist like ttt.local.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.