Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

$http.post crashes when request times out! #4585

Closed
@gchurchley

Description

@gchurchley

If a timeout is used on a $http.post request, and the timeout expires, IE9 throws an exception. This means that code cannot be written to handle timeout conditions

EDIT: I have created a single html page that runs on IE10, Chrome, and Firefox, and clearly shows the error on IE9:
http://www.apxproto.com/api/ngPost.htm

You don't need to read any further.


Here's a plunker: http://plnkr.co/12rp7WqmDpPJC5ASazkJ
Here's a jsFiddle: http://jsfiddle.net/bonneville/J3Txh/

Note that for some reason, the plunker and jsfiddle will not run on IE9 - even for the $http.post requests that don't time out! You will have to put the code into a web page to see the problem.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions