Commit Graph

19 Commits

Author SHA1 Message Date
AJ ONeal c880788e9a Merge branch 'fix/getHeaderName' of Joxit/urequest.js into master 2018-07-12 09:05:15 +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 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 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 5150e076cb bugfix: don't default to POST when json: true 2018-07-06 22:31:37 -06:00
AJ ONeal e0fe41838d support Basic and Bearer auth 2018-07-06 21:23:46 -06:00
AJ ONeal b5714c6a65 www-form support, add *Content-Length by default 2018-07-06 20:20:14 -06:00
AJ ONeal 8758964610 FormData support with form-data 2018-07-06 19:38:47 -06:00
AJ ONeal db01707e13 return correct obj and ws 2018-06-29 02:20:07 -06:00
AJ ONeal dcc5ba0c7e add unix domain socket support and update README 2018-06-29 02:18:44 -06:00
AJ ONeal 94eec37646 use callback not throw 2018-06-26 14:43:56 -06:00
AJ ONeal c9e8c4702b bugfix should set application/json on json post unless content-type already set 2018-06-20 02:11:37 -06:00
AJ ONeal 33ab916082 redirect and POST bugfixes 2018-06-19 01:09:31 -06:00
AJ ONeal 04947932c3 a number of bugfixes 2018-06-19 00:17:04 -06:00
AJ ONeal 956c16e48c initial commit 2018-06-18 19:39:19 -06:00