ember-ajax
ember-ajax copied to clipboard
Service for making AJAX requests in Ember applications
This issue is related with [Can't use .then() on ember-ajax's Promise after code 200](https://github.com/ember-cli/ember-ajax/issues/101). My backend returns a 201 status code with an empty response and location header after a...
It would be great to generate a documentation site, maybe something using [`ember-cli-addon-docs`](https://github.com/ember-learn/ember-cli-addon-docs)! If we can publish it to the `gh-pages` branch here, then it'll be hosted at `ember-cli.com/ember-ajax` automatically,...
I think that, for Version 4, we should drop the optional legacy error serialization behavior. It's somewhat complex, not very reliable, and likely unused. https://github.com/ember-cli/ember-ajax/blob/b96b65fe49e1d587fb29b6c19e9f5d6481dbb9f1/addon/mixins/legacy/normalize-error-response.js Anyone that wants to retain...
It would be useful with an `isHttpError(myError)` function, which would essentially be everything that isn't `timeout` or `aborted`. Would you be open to adding something like that?
It appears that an empty response on a successful 204 request will throw an error due to it expecting JSON. I'm using Ember Data with `ember-ajax/mixins/ajax-support`. Error: Assertion Failed: normalizeResponse...
**Note from @alexlafroscia:** Basic support has been added in #75, but I want to keep this issue open until we can add Fastboot testing to our automated testing setup. Until...
Hi, I found a problem with parsing headers in FastBoot. Headers are [split](https://github.com/ember-cli/ember-ajax/blob/master/addon/utils/parse-response-headers.js#L1) with `\u000d\u000a`, but in my case this results in `[ 'server: nginx/1.4.6 (Ubuntu)\ndate: Wed, 14 Sep 2016...
In FastBoot, when an error occurs and it falls to the else clause, getting all response headers is not safe as it might not be implemented by najax at that...
Our server is not something we can modify, and seems to return an empty string for a get with a certain EndPoint. Whilst this only shows in the console as...
I have made one or two handlebars helpers that check for specific error codes to show custom views by checking the reason property in ProxyMixins. Thought such helpers would be...