Title: $http incorrectly reports back 404 on canceled request · Issue #6074 · angular/angular.js · GitHub
Open Graph Title: $http incorrectly reports back 404 on canceled request · Issue #6074 · angular/angular.js
X Title: $http incorrectly reports back 404 on canceled request · Issue #6074 · angular/angular.js
Description: As of 1.2.8, canceled $http requests return a status of 404, instead of 0. It's a little tricky to reproduce on a public fiddle, but here's how: Load the following full-screen fiddle and just keep trying to refresh the page before the pa...
Open Graph Description: As of 1.2.8, canceled $http requests return a status of 404, instead of 0. It's a little tricky to reproduce on a public fiddle, but here's how: Load the following full-screen fiddle and just keep ...
X Description: As of 1.2.8, canceled $http requests return a status of 404, instead of 0. It's a little tricky to reproduce on a public fiddle, but here's how: Load the following full-screen fiddle and ju...
Opengraph URL: https://github.com/angular/angular.js/issues/6074
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"$http incorrectly reports back 404 on canceled request","articleBody":"As of 1.2.8, canceled $http requests return a status of 404, instead of 0. It's a little tricky to reproduce on a public fiddle, but here's how:\n\nLoad the following full-screen fiddle and just keep trying to refresh the page before the page has fully loaded (F5, F5, F5, F5...). Eventually you'll see an alert that says \"error callback 404\":\n\nhttp://jsfiddle.net/C4jRt/8/embedded/result/\n\nIn 1.2.7 and before, you'll get \"error callback 0\" as expected:\n\nhttp://jsfiddle.net/C4jRt/7/embedded/result/\n\nChrome and Firefox give 404, so it's not browser specific. Firefox swallows the alert when you refresh, so you have to be quick to see it. I couldn't ever see the alert in IE, so.\n\nI'm relying on this status code to handle and react to errors. My web server is a little slow, so I don't want to show a bunch of errors to the user when they refresh while they're waiting for it to come back.\n\nv1.2.8 (incorrect)\nhttp://jsfiddle.net/C4jRt/8\n\nv1.2.7 (correct)\nhttp://jsfiddle.net/C4jRt/7\n","author":{"url":"https://github.com/langdonx","@type":"Person","name":"langdonx"},"datePublished":"2014-01-31T15:10:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/6074/angular.js/issues/6074"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dea972e7-0cbf-5f70-2da0-9b383f5f7e13 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B4E0:7E35F:1603DC4:1F6DC54:6A58F49B |
| html-safe-nonce | 44e340ed42649ef0aba761a2d97578d420f8bd4507d207b3b268a4de1eb86e3b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEUwOjdFMzVGOjE2MDNEQzQ6MUY2REM1NDo2QTU4RjQ5QiIsInZpc2l0b3JfaWQiOiI1ODE2ODgzMjEyNDU1NTcyNjM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 551884125816d93211edb60adc0432c21a942f1307a032be82f7404f6e7318a6 |
| hovercard-subject-tag | issue:26687045 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular.js/6074/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c489561c0a5c880c18e5ecb413e6ea1726117ddf14752bd3bd78b94edf958442/angular/angular.js/issues/6074 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c489561c0a5c880c18e5ecb413e6ea1726117ddf14752bd3bd78b94edf958442/angular/angular.js/issues/6074 |
| og:image:alt | As of 1.2.8, canceled $http requests return a status of 404, instead of 0. It's a little tricky to reproduce on a public fiddle, but here's how: Load the following full-screen fiddle and just keep ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | langdonx |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular.js git https://github.com/angular/angular.js.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 460078 |
| octolytics-dimension-repository_nwo | angular/angular.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 460078 |
| octolytics-dimension-repository_network_root_nwo | angular/angular.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width