1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00
rest-client--rest-client/spec/unit
Andy Brody 00e3358489 Use request cookie jar as basis for response.
Refactor response cookie handling to use our new Request#cookie_jar.
Instead of creating a jar from scratch, make a copy of the request's
cookie jar and populate it with any additional cookies from the response
headers.

Also refactor the redirection code to use this cookie jar, which solves
the question of how to handle cookies from the original request.
2016-06-05 19:14:39 -04:00
..
windows Fix up tests for encoding changes. 2015-03-13 18:00:51 -07:00
_lib.rb Fix up tests for encoding changes. 2015-03-13 18:00:51 -07:00
abstract_response_spec.rb Use request cookie jar as basis for response. 2016-06-05 19:14:39 -04:00
exceptions_spec.rb Add compatibility tests. 2015-11-11 17:20:48 -08:00
master_shake.jpg Reorganize specs 2013-08-30 18:45:06 -07:00
params_array_spec.rb Add some basic tests for RestClient::ParamsArray. 2016-01-26 23:22:09 -05:00
payload_spec.rb Add ParamsArray support to has_file? method. 2015-11-26 22:35:11 -05:00
raw_response_spec.rb Remove args from Response and normalize method. 2016-05-01 16:57:54 -04:00
request2_spec.rb Enable new GET param generation, add tests. 2015-11-12 00:11:33 -08:00
request_spec.rb Implement cookie jar support for :cookies. 2016-06-05 16:44:14 -04:00
resource_spec.rb Fix up tests for encoding changes. 2015-03-13 18:00:51 -07:00
response_spec.rb Use request cookie jar as basis for response. 2016-06-05 19:14:39 -04:00
restclient_spec.rb Fix up tests for encoding changes. 2015-03-13 18:00:51 -07:00
utils_spec.rb Add more tests for Utils.encode_query_string. 2016-01-26 23:02:07 -05:00