Skip to content

Commit 3f4bfee

Browse files
author
Alex Casanova
committed
added app: protocol to completeRequest method in httpBackend.js
1 parent a8b0400 commit 3f4bfee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ng/httpBackend.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ function createHttpBackend($browser, XHR, $browserDefer, callbacks, rawDocument,
9191

9292
// fix status code for file protocol (it's always 0)
9393
status = (protocol == 'file') ? (response ? 200 : 404) : status;
94+
status = (protocol == 'app') ? (response ? 200 : 404) : status;
9495

9596
// normalize IE bug (http://bugs.jquery.com/ticket/1450)
9697
status = status == 1223 ? 204 : status;

0 commit comments

Comments
 (0)