Ticket #7969 (closed bug: fixed)
$.get() returns "success" when the request fails by timeout
|Reported by:||mappy||Owned by:|
When $.get() is called to an address where no server is running - e.g. http://127.0.0.1:82 - the request succeeds, returning 'success' as the second callback argument
Expected behavior: Request fails, does not return 'success' to the callback.
Steps to reproduce:
- Save the code from http://pastebin.com/RfXmekB7 as a local .htm file
- Status appears as 'success', despite no server existing at 127.0.0.1:82