Commit Graph

77 Commits

Author SHA1 Message Date
AJ ONeal ba60df7eab
fix: don't JSON.stringify a string body, duh 2022-01-12 12:42:34 -07:00
AJ ONeal bc4f6e59c0 1.8.0 2021-10-18 01:42:07 -06:00
AJ ONeal 3842ee1d61 docs: add CHANGELOG.md 2021-10-18 01:41:08 -06:00
AJ ONeal 9518cb970b feature: add resp.stream.body() and resp.ok 2021-10-18 01:38:44 -06:00
AJ ONeal 2e9a643c0f feature: fail faster on bad createWriteStream 2021-10-18 00:55:04 -06:00
AJ ONeal dcd41a33d0 chore: add linter config 2021-10-18 00:47:39 -06:00
AJ ONeal 5f5e0b6066 bugfix: return after error callback 2021-10-18 00:47:06 -06:00
AJ ONeal ed2bab931f
Update README.md 2021-08-20 22:57:43 -06:00
AJ ONeal a95d003ed5
docs: link to form-data v2.x (JavaScript) docs 2021-08-06 15:27:06 -06:00
AJ ONeal 5149bc9dcb
docs: clarify stream usage 2021-08-06 14:07:03 -06:00
AJ ONeal 95a12a8285 v1.7.0 add stream support 2021-01-14 16:35:07 -07:00
AJ ONeal 9395ec96e3 make Prettier (v2) 2021-01-14 16:07:48 -07:00
AJ ONeal 3574e35635 v1.6.1: userAgent and docs 2020-04-28 23:14:50 -06:00
AJ ONeal 508f1ce591 add comments 2020-04-28 23:00:26 -06:00
AJ ONeal c2c4b5b2de v1.6.0: add default User-Agent, bugfixes 2020-04-28 22:58:11 -06:00
AJ ONeal f6557b7610 handle possible readable body error 2020-04-28 22:56:12 -06:00
AJ ONeal 4b9a1f07ee add default User-Agent 2020-04-28 22:43:27 -06:00
AJ ONeal e22baa8eae v1.5.0: add pipe support, fix bearer bug 2020-03-12 02:01:23 -06:00
AJ ONeal 812f4e6062 bugfix request compat opts.auth.bearer 2020-03-12 01:59:33 -06:00
AJ ONeal 5b5cd36aa5 allow pipe-able inputs 2020-03-12 01:57:10 -06:00
AJ ONeal 4f3fe38ee4 update docs for promises 2020-02-27 02:17:07 +00:00
AJ ONeal ef3183e984 add 80/20 message 2020-02-20 17:34:27 +00:00
AJ ONeal e384aead9b v1.4.2: regression fix: copy 'method' to final object 2019-11-01 01:19:47 -06:00
AJ ONeal 87bf5a5fc5 v1.4.2: regression fix: copy 'method' to final object 2019-11-01 01:18:25 -06:00
AJ ONeal 1692b9e7df v1.4.1: GET by default *after* POST body check 2019-10-29 21:53:39 -06:00
AJ ONeal 8f5133385b v1.4.0: add promise support and easy debugging 2019-10-29 14:57:28 -06:00
AJ ONeal 1507b38503 v1.3.12: bugfix json request 2019-10-29 14:42:26 -06:00
AJ ONeal 9ab91d9721 make Prettier 2019-10-29 14:31:30 -06:00
AJ ONeal b6900b937b remove extraneous variable 2019-06-04 04:20:29 +00:00
AJ ONeal be91c1b78f show promise usage 2019-06-04 04:19:11 +00:00
AJ ONeal 335dd98631 v1.3.11: pass callback 2019-05-23 13:25:20 -06:00
AJ ONeal 28f3f783ae v1.3.10: update header and link 2019-04-16 12:43:21 -06:00
AJ ONeal 1d4c3c1997 v1.3.9: update name and urls 2019-04-16 12:41:05 -06:00
AJ ONeal 999797270f v1.3.8: A Root Project 2019-04-04 01:39:16 -06:00
AJ ONeal aec78877cf v1.3.7: agent passthru (also timeout, setHost, createConnection, family, host, localAddress) 2019-02-26 01:02:37 -07:00
AJ ONeal 4eaf68966c note the need to install form-data@2 when using forms 2018-09-16 21:02:57 -06:00
AJ ONeal 49daa68225 v1.3.6: merge some bugfix PRs 2018-07-12 03:12:49 -06:00
AJ ONeal c880788e9a Merge branch 'fix/getHeaderName' of Joxit/urequest.js into master 2018-07-12 09:05:15 +00:00
AJ ONeal c4ec14fb6a Merge branch 'redirect' of Joxit/urequest.js into master 2018-07-12 09:01:02 +00:00
Joxit b3f4042adb Should send opts and not opts.headers in getHeaderName 2018-07-12 10:17:59 +02:00
Joxit e1bc24ce97 Add HTTP codes 307 and 308 for redirect
See https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
2018-07-12 10:10:23 +02:00
AJ ONeal 137da9b903 v1.3.5 2018-07-07 19:57:16 -06:00
AJ ONeal 078f922635 stop on form-data error 2018-07-07 19:56:53 -06:00
AJ ONeal 3defd84af4 v1.3.4: bugfix keep separate headers and don't keep Content-Length on redirect 2018-07-07 19:46:21 -06:00
AJ ONeal 50704fdccc v1.3.3: bugfix form-data request object 2018-07-07 16:19:00 -06:00
AJ ONeal 7255134e9f v1.3.2: bugfix form-data 2018-07-07 14:31:36 -06:00
AJ ONeal 739354090b wrap onResponse for form-data's signature with error 2018-07-07 14:30:58 -06:00
AJ ONeal c355fb20c4 explicit POST and comment on possible deviation from request API 2018-07-06 22:40:28 -06:00
AJ ONeal aa509ea4ce v1.3.1: bugfix regression with json on GET 2018-07-06 22:32:28 -06:00
AJ ONeal 5150e076cb bugfix: don't default to POST when json: true 2018-07-06 22:31:37 -06:00