Commit Graph

32 Commits (c002aaa97c45fa5dfd91325a005fd5cc18a55b57)

Author SHA1 Message Date
pooya parsa ada73879f7
feat: improve `$` helpers and error object (#113)
* test: add error fixture

* feat: improve `$` helpers and error object

* chore: remove duplicated line

* docs: clear error properies

* docs: improvements

Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2020-06-17 13:01:35 +02:00
Ricardo Gobbo de Souza 2839260ea9
feat: allow adding custom headers with nuxt config (#101)
* feat: allow adding custom headers with nuxt config

* fix: Ky headers are simple

* docs: `setToken` not accept custom headers

* style: indentation
2020-05-26 19:38:55 +02:00
Sébastien Chopin e37358f5b2 feat: add create helper and improve docs 2020-04-13 21:09:04 +02:00
pooya parsa e740a5e93a test: fix default https 2020-03-27 13:52:12 +01:00
Pooya Parsa fcc7934610 fix lint errors 2019-09-05 18:34:41 +02:00
pooya parsa bbaba5934e update ssr fixture 2019-05-30 02:49:21 +04:30
Alessandro Giordo 53287ddf80 feat: support setting timeout and disable by default (#51) 2019-05-30 02:44:54 +04:30
Pim 7ad6645d8a feat: convert header names to lowercase (#45) 2019-05-22 01:50:04 +04:30
Sébastien Chopin 454807c5ab fix: lowercase `accept-encoding` header (#43)
+ update docs
2019-05-21 22:36:47 +04:30
pooya parsa 671356baf9 disable terser for test debugging 2019-03-24 16:34:48 +04:30
pooya parsa e01118631b docs: basic migration from axios to http 2019-03-24 00:03:48 +04:30
pooya parsa b8354720f4 test: update tests 2019-03-19 00:51:48 +03:30
pooya parsa 61fb627477 feat: http class 2019-03-19 00:08:46 +03:30
pooya parsa 0211114c22 chore: update test 2019-03-18 23:41:05 +03:30
pooya parsa 7056f151d8 test: update fixture 2019-03-18 21:47:53 +03:30
Ricardo Gobbo de Souza c63d5ef139 test(module): increase coverage (#213) 2019-02-19 01:28:35 +03:30
Ricardo Gobbo de Souza 6a34d0fc0b refactor(package): update module (#206) 2019-02-09 17:34:47 +03:30
Alexander Lichter 4a52bfdc81 fix: correctly ignore brotli encoding on server-side (#180) 2018-11-08 12:47:46 +03:30
Pooya Parsa c064cddbbb tests: add test for #111. 2018-03-06 09:37:02 +03:30
Pooya Parsa 033f0dae19 test: add retry to tests
#77
2018-02-04 21:47:28 +03:30
Pooya Parsa 0d3be173f2 feat: support proxy 2018-01-28 22:40:23 +03:30
Pooya Parsa fa3eb473b5 feat: interceptor helpers 2018-01-28 19:17:47 +03:30
Pooya Parsa 9f33421115 update tests 2018-01-28 18:24:03 +03:30
Pooya Parsa 647b58f133 feat: rewrite plugin 2018-01-28 17:27:39 +03:30
Pooya Parsa 533cf4ee2c refactor: a better and more stable way to specify baseURL and browserBaseURL options
BREAKING CHANGE: prefix should be set to `/api` for backward compability. refer to new docs.
2018-01-16 20:45:12 +03:30
Pooya Parsa 9b0834898d misc: update to nuxt 1.x 2018-01-16 19:40:27 +03:30
Pooya Parsa 148f8b8e73 responseInterceptor test 2017-09-06 23:23:54 +04:30
Pooya Parsa 88961d462c tests for init 2017-09-06 22:59:07 +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 e4535e830e tests: ssr
Security checks to prevent sharing tokens and headers across requests
2017-08-13 18:43:01 +04:30
Pooya Parsa 4e4efec85c tests 2017-08-13 18:09:59 +04:30
Pooya Parsa 4c9ff4dddf moved from nuxt-community/modules 2017-08-13 15:52:10 +04:30