spec/vcr_cassettes/cpanel/file_manager/operate.yml in lumberg-2.0.0.pre12 vs spec/vcr_cassettes/cpanel/file_manager/operate.yml in lumberg-2.0.0.pre15
- old
+ new
@@ -1,77 +1,77 @@
----
+---
recorded_with: VCR 2.0.1
-http_interactions:
-- request:
+http_interactions:
+- request:
method: get
- uri: https://myhost.com:2087/json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_func=fileop&cpanel_jsonapi_module=Fileman&cpanel_jsonapi_user=lumberg&destfiles=.someotherfile&doubledecode&op=copy&sourcefiles=.shouldneverexist
- body:
+ uri: https://myhost.com:2087/json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_func=fileop&cpanel_jsonapi_module=Fileman&cpanel_jsonapi_user=lumberg&destfiles=.someotherfile&doubledecode=&op=copy&sourcefiles=.shouldneverexist
+ body:
string: ""
- headers:
- User-Agent:
+ headers:
+ User-Agent:
- Faraday v0.8.7
- Authorization:
+ Authorization:
- WHM root:iscool
- Accept:
+ Accept:
- "*/*"
- response:
- status:
+ response:
+ status:
code: 200
message: OK
- headers:
- Keep-Alive:
+ headers:
+ Keep-Alive:
- timeout=70, max=200
- Date:
+ Date:
- Wed, 12 Jun 2013 13:17:38 GMT
- Content-Length:
+ Content-Length:
- "260"
- Content-Type:
+ Content-Type:
- application/json; charset="utf-8"
- Server:
+ Server:
- cpsrvd/11.36.0.4
- X-Keep-Alive-Count:
+ X-Keep-Alive-Count:
- "1"
- Connection:
+ Connection:
- Keep-Alive
- body:
+ body:
string: |
{"cpanelresult":{"data":[{"result":0,"dest":"/home/lumberg/.someotherfile","src":"/home/lumberg/.shouldneverexist","err":"No such file or directory"}],"func":"fileop","module":"Fileman","event":{"result":1},"apiversion":2,"error":"No such file or directory"}}
- http_version:
+ http_version:
recorded_at: Wed, 12 Jun 2013 13:16:39 GMT
-- request:
+- request:
method: get
- uri: https://myhost.com:2087/json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_func=fileop&cpanel_jsonapi_module=Fileman&cpanel_jsonapi_user=lumberg&destfiles=sample-last-login.txt&doubledecode&op=copy&sourcefiles=.lastlogin
- body:
+ uri: https://myhost.com:2087/json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_func=fileop&cpanel_jsonapi_module=Fileman&cpanel_jsonapi_user=lumberg&destfiles=sample-last-login.txt&doubledecode=&op=copy&sourcefiles=.lastlogin
+ body:
string: ""
- headers:
- User-Agent:
+ headers:
+ User-Agent:
- Faraday v0.8.7
- Authorization:
+ Authorization:
- WHM root:iscool
- Accept:
+ Accept:
- "*/*"
- response:
- status:
+ response:
+ status:
code: 200
message: OK
- headers:
- Keep-Alive:
+ headers:
+ Keep-Alive:
- timeout=70, max=200
- Date:
+ Date:
- Wed, 12 Jun 2013 13:17:38 GMT
- Content-Length:
+ Content-Length:
- "190"
- Content-Type:
+ Content-Type:
- application/json; charset="utf-8"
- Server:
+ Server:
- cpsrvd/11.36.0.4
- X-Keep-Alive-Count:
+ X-Keep-Alive-Count:
- "1"
- Connection:
+ Connection:
- Keep-Alive
- body:
+ body:
string: |
{"cpanelresult":{"event":{"result":1},"module":"Fileman","apiversion":2,"func":"fileop","data":[{"dest":"/home/lumberg/sample-last-login.txt","src":"/home/lumberg/.lastlogin","result":1}]}}
- http_version:
+ http_version:
recorded_at: Wed, 12 Jun 2013 13:16:40 GMT