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

2 commits

Author SHA1 Message Date
Andy Brody
3c95dbd45c Do not CGI.unescape cookies sent in requests.
It isn't appropriate to call CGI.unescape on cookie values: any URI
encoding performed by servers on cookies should remain that way to avoid
sending invalid characters in the Cookie request HTTP header. (e.g. If
you send a cookie containing '%0A', it should send those three octets,
not a newline character.)

Fixes #89
2014-03-06 22:53:27 -08:00
Larry Gilbert
d7a11503af Reorganize specs
* Put unit and integration specs into separate subdirectories
* Consolidate all requires of 'webmock/rspec' into spec_helper.rb
* Use WebMock.{disable!,enable!} for specs calling live server
2013-08-30 18:45:06 -07:00
Renamed from spec/request_spec.rb (Browse further)