- Chrome now is stupid and has
\<newline>
between params (great for humans, not so great for this pkg) sostraighten()
now only works in single curl command line mode asread_clip()
- removed V8 dependency
- now uses
docopt
package - Fixed #20
- Added "query = list(...)" to the created function if the original URL had query parameters
- Nicer formatting of make_req() functions via styler
- support for
-v / --verbose
and-u / --user
curl
command-line parameters.
- calls to
add_headers
&set_cookies
now have anhttr::
prefix so it's not necessary to loadhttr
- the
url_parts
slot of the return value ofstraighten()
is classed asurl
sohttr::build_url()
can create a URL from it. see next bullet for why. make_req()
has a new parameter -use_parts
. IfTRUE
it will callhttr::build_url()
on theurl_parts
slot of the return value ofstraighten()
vs use the passed-in cURL URL. This means you can modify theurl_parts
before callingmake_req()
. This isFALSE
by default.
- Fixed bug in js module that caused the header parsing to fail if there was only one header (Fixes #4)
- Added single header test to test suite
- Code cleanup & documentation update
- reads/sets cookies
- Improved README #3
- changed idiom, see README
make_req
now actually returns a working/callable R function
make_req
turns the cURLs intohttr
requests
- Handles --header
- Added
parse_query
- Added parsed URL to return value of
straighten()
- initial release