1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00
Commit graph

5 commits

Author SHA1 Message Date
Andy Brody
bad70fb1d8 Add more tests for Utils.encode_query_string.
These tests, which follow the yard-doc examples, exercise the
new ParamsArray behavior.
2016-01-26 23:02:07 -05:00
Andy Brody
2dd4b3739d Enable new GET param generation, add tests.
Switch the generation of HTTP GET params over to the new, more
featureful method in Utils, which handles Rack/Rails style nested
parameters. Also add a variety of tests for this functionality.
2015-11-12 00:11:33 -08:00
Andy Brody
5ce0c6ebde Fix up tests for encoding changes.
Add a `.to_hash => {}` for the Net HTTP response mocks.
2015-03-13 18:00:51 -07:00
Andy Brody
6d7818f517 Per RFC 7231, don't default to ISO-8859-1. 2015-03-13 16:33:46 -07:00
Andy Brody
29b56a33f3 Add functions for parsing content-type headers. 2015-01-28 02:45:02 -08:00