* Added MATLAB generator
* Fix the issue with single quotes inside double quotes
* webwrite cannot take params as inputs bugfix
* Simplified querystrings for webwrite with data
* Ignore Xnull from Safari
* Bump Node version to 7 to support ECMAScript 6
* structify() function to turn JSON into MATLAB structs
* Add MATLAB structs if data can be parsed as JSON
* Remove the whitespace before ellipsis in MATLAB generator
* WIP on RequestMessage workflow
* Use RequestMessage API
* WIP on WebServices
* Add data to the webwrite
* VerifyServerName flag
* Add files using fileread function
* Make sure only one cookie header is sent
* Fix Cookies in fixtures
* Use newer Node for flatten()
* Use cookie/param string
* Use dot notation for options
* Transpose headers
* Make basic auth work with only password
* put_with_file nonbinary files, multiple_d_post json object
* options unsafe URI symbols, ignore full uri
* Split MATLAB generator into two variants
* Removed todo comments
* Add MATLAB to the CLI
* Add option to disable SSL verification
* Require Node 12+
This commit migrates the project to use ES6 syntax (`let` and `const` where appropriate, arrow functions). This syntax is supported in Node 6, so retrocompatibility should be ok.
This prevents yargs from absorbing some positional parameters, e.g.,
URLs, as arguments of flags that don't take any. The heuristic logic
for locating a URL is no longer needed for all tests to pass.
cURL commands in the wild are typically meant to be pasted into the
console, and thus have quoting for a shell. This is done inconsistently
in the test cases, but ought to be done all the time when it makes a
difference (e.g., when ? or & appear in the URL).
It also came to light that the get_with_form test case is syntactically
incorrect, and the corresponding test file did not have a good expected
value.