Commit Graph

17 Commits (9b0834898d4a259e00331f00df323d931557f5c3)

Author SHA1 Message Date
Antério Vieira ab312a3169 chore: unused variables removed (#68) 2017-12-29 20:12:19 +03:30
Paul Schmidt f1e95ff4b5 feat: disable sefault error handler (#44)
* Override the default error handler

Otherwise there is the possibility that they are conflicting with each other.
Also added a option, where you can disable the errorHandler at all (for example if you work with the responseInterceptor)

* Changed option name and added the documentation.

Renamed the option to `disableDefaultErrorHandler`.
Added documention for the new option.
2017-10-12 11:51:39 +03:30
Pooya Parsa 7c13655ef4 feat(proxyHeader): proxyHeadersIgnore option
#39
2017-09-30 20:02:44 +03:30
Pooya Parsa dadd7d8e2b feat: don't rely on hostname for default values 2017-09-12 03:20:18 +04:30
Pooya Parsa c70749a6c5 feat: pass ctx to errorHandlers
#25
2017-09-08 10:35:55 +04:30
Pooya Parsa 2f04e3020f fix: delete accept header
fixes #12
2017-09-06 23:11:03 +04:30
Pooya Parsa 356b31f032 fix: inject $axios in current ctx
#18
2017-09-06 23:05:20 +04:30
Pooya Parsa bcd47102c1 perf: move init outside of plugin 2017-09-06 23:02:55 +04:30
Pooya Parsa 88961d462c tests for init 2017-09-06 22:59:07 +04:30
Pooya Parsa 8e0c0e8c4c feat: add options.init
#21
2017-09-06 22:30:58 +04:30
Pooya Parsa b16d6bf8a3 feat: responseInterceptor and errorHandler 2017-08-30 22:20:43 +04:30
Pooya Parsa 61432a1916 feat: better baseURL message 2017-08-30 21:44:18 +04:30
Pooya Parsa a341185f5b feat: upgrade for nuxt rc8
BREAKING CHANGE: app.axios is not available anymore (without $) should always use app.$axios
2017-08-30 21:39:30 +04:30
Pooya Parsa 7ba3ae819d fix: create fresh objects for all default header scopes 2017-08-13 19:47:02 +04:30
Pooya Parsa 9355228536 fix(headers): fix security bug with default request headers 2017-08-13 19:00:33 +04:30
Pooya Parsa 5e919381eb coverage 2017-08-13 18:17:38 +04:30
Pooya Parsa 4096f83530 working eslint 2017-08-13 16:40:55 +04:30