ember-ajax icon indicating copy to clipboard operation
ember-ajax copied to clipboard

Service for making AJAX requests in Ember applications

Results 47 ember-ajax issues
Sort by recently updated
recently updated
newest added

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...

Bug

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,...

enhancement
Good for New Contributors

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...

Good for New Contributors

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?

enhancement
Good for New Contributors

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...

Bug

**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...

feature

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...

Bug

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...

Bug

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...

Needs Test

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...

enhancement
Good for New Contributors