Commit Graph

22 Commits

Author SHA1 Message Date
DIYgod f1660e9723
feat: expand the scope of retries and set proxy strategy 2023-07-24 02:38:24 +01:00
Chih-Hsuan Yen 1c9c4ccfc8
fix(core): make sure timeout error messages include URLs (#7981)
Before this fix, timeout messages are not quite useful

> error: Request undefined fail, retry attempt #1: TimeoutError: Timeout awaiting 'request' for 5000ms
2021-08-12 01:27:07 -07:00
DIYgod 89e82d88fa
feat: got request timeout 2021-02-01 20:06:49 +08:00
dependabot-preview[bot] 68c15eaa5c
chore(deps): bump got from 11.1.4 to 11.3.0 (#4922)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: DIYgod <diy.d.god@gmail.com>
2020-06-26 01:22:09 +08:00
Mitt 725a733b2a
fix: ingore undefined got options (#4651) 2020-05-06 19:47:51 +08:00
DIYgod 77d55262ff
chore: bump got from 9.x to 10.x (#3875) 2020-02-04 01:09:14 +08:00
DIYgod 4445443946
feat: use dynamical config 2019-09-18 17:45:21 +08:00
Cloud 4d6257af50 feat: replace baseUrl to prefixUrl when got's next version (#2996)
* enhance: replace baseUrl to prefixUrl when got's next version

* test: baseUrl
2019-09-05 12:01:44 +08:00
DIYgod 6f2ee73073
feat: move encodeURIComponent to routes 2019-08-18 18:03:41 +08:00
DIYgod 0aaf1e3f6c
fix: object got query, close #2824 2019-08-11 01:33:33 +08:00
DIYgod 5d8cf35ef5 Merge branch 'request-wrapper' 2019-08-11 00:37:34 +08:00
Cloud 054d159e8c fix: Request path contains unescaped characters error (#2784) 2019-08-08 22:49:32 +08:00
DIYgod 6f3a7836f2
feat: request wrapper 2019-08-06 13:00:22 +08:00
DIYgod 08878e1d52
fix: set proxy for http module, close #2647 #2094 2019-08-03 20:38:37 +08:00
DIYgod 59bb15e761
fix: got encoding 2019-06-15 10:24:06 +08:00
DIYgod 56e74742fc
test: got axios options 2019-06-14 17:51:03 +08:00
DIYgod ea508b8bc2
fix: post type 2019-06-04 18:28:06 +08:00
DIYgod 907d7498ca
fix: compatible with axios data and params 2019-06-04 15:10:27 +08:00
DIYgod 3efdb57be0
fix: got option.body 2019-06-04 11:59:36 +08:00
DIYgod feab46cb15
fix: got.all 2019-06-04 11:54:20 +08:00
DIYgod 2bd3b39fcd
fix: always parse response body 2019-06-04 11:13:54 +08:00
DIYgod a56c0b5a39
refactor: rename axios to got 2019-06-03 18:03:05 +08:00