spec/fixtures/cassettes/get-settings.yml in BtSync-0.5.1 vs spec/fixtures/cassettes/get-settings.yml in BtSync-0.5.3
- old
+ new
@@ -1,58 +1,31 @@
---
http_interactions:
- request:
method: get
- uri: http://localhost:8888/gui/token.html?output=text
+ uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
body:
encoding: US-ASCII
string: ''
- headers: {}
- response:
- status:
- code: 200
- message: OK
headers:
- Connection:
- - keep-alive
- Content-Length:
- - '121'
- Content-Type:
- - text/html
- Set-Cookie:
- - GUID=h7rsYhEBFJ4m65WcjuHL; path=/
- Cache-Control:
- - no-cache
- body:
- encoding: US-ASCII
- string: <html><div id='token' style='display:none;'>gGxWdAsiDAEXDTQnRHzKZRRO0SksuWhA7pDzg_G-n_h1NmZZfB9oCn-DtlEAAAAA</div></html>
- http_version:
- recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
-- request:
- method: get
- uri: http://localhost:8888/gui/?action=getsettings&output=json&token=gGxWdAsiDAEXDTQnRHzKZRRO0SksuWhA7pDzg_G-n_h1NmZZfB9oCn-DtlEAAAAA
- body:
- encoding: US-ASCII
- string: ''
- headers:
Cookie:
- - GUID=h7rsYhEBFJ4m65WcjuHL
+ - GUID=7Sb1dvknwuyiiKy9xvYv
response:
status:
code: 200
message: OK
headers:
Connection:
- keep-alive
Content-Length:
- - '119'
+ - '132'
Content-Type:
- application/json; charset=utf-8
Cache-Control:
- no-cache
body:
encoding: US-ASCII
- string: ! '{ "settings": { "devicename": "IceyEC-Virtual1", "dlrate": 0, "listeningport":
- 63754, "portmapping": 1, "ulrate": 0 } }'
+ string: ! '{ "settings": { "devicename": "precise32 - Default Instance", "dlrate":
+ 0, "listeningport": 63754, "portmapping": 0, "ulrate": 0 } }'
http_version:
- recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
+ recorded_at: Wed, 12 Jun 2013 18:42:11 GMT
recorded_with: VCR 2.5.0