spec/fixtures/cassettes/get-settings.yml in BtSync-0.1.2 vs spec/fixtures/cassettes/get-settings.yml in BtSync-0.2.1

- old
+ new

@@ -1,28 +1,58 @@ ---- -recorded_with: VCR 2.5.0 -http_interactions: -- request: +--- +http_interactions: +- request: method: get - uri: http://localhost:8888/gui/?action=getsettings&output=json&token=grsJ7BMbd6FPJND8DVjjZBZdHKV44iACI83vsaYfENHJYr2peP4GJdU7rlEAAAAA - body: - string: "" - headers: - Cookie: - - GUID=SklJvMPAaAAUrQIQ3W3i - response: - status: + uri: http://localhost:8888/gui/token.html?output=text + body: + encoding: US-ASCII + string: '' + headers: {} + response: + status: code: 200 message: OK - headers: - Connection: + headers: + Connection: - keep-alive - Content-Type: + Content-Length: + - '121' + Content-Type: + - text/html + Set-Cookie: + - GUID=5VHKF4UDutvWFb60xkAE; path=/ + Cache-Control: + - no-cache + body: + encoding: US-ASCII + string: <html><div id='token' style='display:none;'>hyPzlNlTakxYRbFDwMZVRm5dPpjbgMpwrUb3MCh4piy_H5W8E2JUxhlOr1EAAAAA</div></html> + http_version: + recorded_at: Wed, 05 Jun 2013 14:41:29 GMT +- request: + method: get + uri: http://localhost:8888/gui/?action=getsettings&output=json&token=hyPzlNlTakxYRbFDwMZVRm5dPpjbgMpwrUb3MCh4piy_H5W8E2JUxhlOr1EAAAAA + body: + encoding: US-ASCII + string: '' + headers: + Cookie: + - GUID=5VHKF4UDutvWFb60xkAE + response: + status: + code: 200 + message: OK + headers: + Connection: + - keep-alive + Content-Length: + - '119' + Content-Type: - application/json; charset=utf-8 - Content-Length: - - "119" - Cache-Control: + Cache-Control: - no-cache - body: - string: "{ \"settings\": { \"devicename\": \"IceyEC-Virtual1\", \"dlrate\": 0, \"listeningport\": 63754, \"portmapping\": 1, \"ulrate\": 0 } }" + body: + encoding: US-ASCII + string: ! '{ "settings": { "devicename": "IceyEC-Virtual1", "dlrate": 0, "listeningport": + 63754, "portmapping": 1, "ulrate": 0 } }' http_version: - recorded_at: Tue, 04 Jun 2013 19:11:20 GMT + recorded_at: Wed, 05 Jun 2013 14:41:29 GMT +recorded_with: VCR 2.5.0