gitlab-org--gitlab-foss/app/assets/javascripts/lib/utils/http_status.js
Simon Knox 53e7bf0470 fix transient rspec failure due to Poll.js race condition
don't treat aborted requests as failures, they are often triggered during unload (e.g after clicking a link)
2017-07-18 12:17:55 +10:00

9 lines
102 B
JavaScript

/**
* exports HTTP status codes
*/
export default {
ABORTED: 0,
NO_CONTENT: 204,
OK: 200,
};