Commit Graph

30 Commits (a6f21956acf8efa25f59b638eca70cfbb04a9b68)

Author SHA1 Message Date
Alexander Lichter 6bc12959a5
fix(plugin): debug option broken (#117) 2020-07-16 19:17:51 +02:00
Sébastien Chopin b9f5e053d3 feat: handle runtimeConfig and static target 2020-07-14 12:32:28 +02:00
pooya parsa 77b084bc01 fix(plugin): allow reusing error.response.json 2020-06-29 12:44:50 +02:00
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 874b668e1e
feat: `debug` option (#109) 2020-06-12 17:46:48 +02:00
pooya parsa e7cb647047
fix: use local version of ky-universal (#111) 2020-06-12 17:43:59 +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
Kevin Marrec 10fbd67966
fix: remove leading slash when using prefixUrl (#96) 2020-04-29 19:54:55 +02:00
Sébastien Chopin e37358f5b2 feat: add create helper and improve docs 2020-04-13 21:09:04 +02:00
Kotaro Imai bdae0c0aab
feat: enable advanced retry options (#80) 2020-01-30 23:03:27 +01:00
MKGaru febf2658dc
fix: use json serialization for plain array (#87) 2020-01-30 23:01:54 +01:00
Kotaro Imai 3d0aa272d2 feat: add `onRetry` hook (#79) 2019-11-02 12:02:50 +01:00
pooya parsa d965efae3a fix: handle false timeout 2019-05-30 13:01:27 +04:30
pooya parsa 2b0f463416 revert: revert converting header names to lowercase 2019-05-30 02:47:12 +04:30
Alessandro Giordo 53287ddf80 feat: support setting timeout and disable by default (#51) 2019-05-30 02:44:54 +04:30
pooya parsa fa4b94a48f refactor: prevent mutating HTTP constructor args 2019-05-23 01:10:38 +04:30
pooya parsa 0f1dc174eb lowercase `authorization` 2019-05-22 19:15:21 +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
Per Anders Ljusbäck 15274cbee1 fix: correctly handle `proxyHeaders: false` (#17) 2019-04-18 20:34:44 +04:30
pooya parsa 57b8a8be9a feat: allow passing body as argument 2019-04-10 01:03:35 +04:30
pooya parsa a94424543d global retry 2019-03-24 15:42:58 +04:30
pooya parsa 8bff67556c chore: fix plugin lint 2019-03-19 00:10:45 +03:30
pooya parsa 61fb627477 feat: http class 2019-03-19 00:08:46 +03:30
pooya parsa d21aca4432 chore: default retry to 0 2019-03-18 22:41:20 +03:30
pooya parsa 7bc50f8bee fix: default retry to 1 2019-03-18 22:32:36 +03:30
pooya parsa 09a5382778 fix: prefixUrl 2019-03-18 22:31:55 +03:30
pooya parsa 18e5fa1f7a chore: make it working 2019-03-18 22:31:00 +03:30
pooya parsa a493fee0fb chore: basic migration of plugin 2019-03-18 21:39:39 +03:30
Ricardo Gobbo de Souza 6a34d0fc0b refactor(package): update module (#206) 2019-02-09 17:34:47 +03:30