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

$http rest api call with empty respone + file:// = always reject #4436

Closed
sohai opened this issue Oct 15, 2013 · 1 comment
Closed

$http rest api call with empty respone + file:// = always reject #4436

sohai opened this issue Oct 15, 2013 · 1 comment

Comments

@sohai
Copy link

sohai commented Oct 15, 2013

b019a48#diff-fc6d3d48fd6597bd97d30eab9497841bR105

this line resolve file protocol event request goes to http

its serious problem for phonegap apps

@rtpm
Copy link

rtpm commented Oct 30, 2013

#4514

jamesdaily pushed a commit to jamesdaily/angular.js that referenced this issue Jan 27, 2014
…file:// apps

Previously if an app was running from file:// origin we would always return either
http 200 or 404 depending on whether the response was present.

This changes the behavior so that we do this only if the protocol of the request
(not the origin) is file:// and only if the status code is 0.

Closes angular#4436
Closes angular#4587
Closes angular#4514
jamesdaily pushed a commit to jamesdaily/angular.js that referenced this issue Jan 27, 2014
…file:// apps

Previously if an app was running from file:// origin we would always return either
http 200 or 404 depending on whether the response was present.

This changes the behavior so that we do this only if the protocol of the request
(not the origin) is file:// and only if the status code is 0.

Closes angular#4436
Closes angular#4587
Closes angular#4514
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants