fixtures/vcr_cassettes/request_phase.yml in omniauth-ebay-0.0.8 vs fixtures/vcr_cassettes/request_phase.yml in omniauth-ebay-0.9.1
- old
+ new
@@ -1,58 +1,70 @@
----
-recorded_with: VCR 2.0.1
-http_interactions:
-- request:
+---
+http_interactions:
+- request:
method: post
uri: https://api.ebay.com/ws/api.dll
- body:
- string: " <?xml version=\"1.0\" encoding=\"utf-8\"?>\n <GetSessionIDRequest xmlns=\"urn:ebay:apis:eBLBaseComponents\">\n <RuName>fak_fak_fakeeee-eeeeeeee-eeee-e-eeeee</RuName>\n </GetSessionIDRequest>\n"
- headers:
- x-ebay-api-call-name:
+ body:
+ encoding: US-ASCII
+ string: ! "\n <?xml version=\"1.0\" encoding=\"utf-8\"?>\n <GetSessionIDRequest
+ xmlns=\"urn:ebay:apis:eBLBaseComponents\">\n <RuName>runame</RuName>\n
+ \ </GetSessionIDRequest>\n "
+ headers:
+ x-ebay-api-call-name:
- GetSessionID
- accept:
- - "*/*"
- content-type:
+ x-ebay-api-compatibility-level:
+ - '675'
+ x-ebay-api-dev-name:
+ - devid
+ x-ebay-api-app-name:
+ - appid
+ x-ebay-api-cert-name:
+ - certid
+ x-ebay-api-siteid:
+ - siteid
+ content-type:
- text/xml
- x-ebay-api-app-name:
- - a219dda1-87b5-11e1-b0c4-0800200c9a66
- content-length:
- - "350"
- x-ebay-api-dev-name:
- - bdc8a861-87b5-11e1-b0c4-0800200c9a66
- x-ebay-api-cert-name:
- - cf9340f3-87b5-11e1-b0c4-0800200c9a66
- x-ebay-api-siteid:
- - "0"
- x-ebay-api-compatibility-level:
- - "675"
- response:
- status:
+ content-length:
+ - '195'
+ accept:
+ - ! '*/*'
+ user-agent:
+ - Ruby
+ response:
+ status:
code: 200
message: OK
- headers:
- x-ebay-api-pool-name:
- - 11212345690123456722222
- x-ebay-esb-siteid:
- - "0"
- content-type:
+ headers:
+ content-type:
- text/xml
- x-ebay-esb-guid:
- - fak:uuid:Fakefakefakefakefakefakefakefak
- x-ebay-esb-app-name:
- - fakefake-fake-fake-fake-fakefakefake
- server:
+ server:
- Apache-Coyote/1.1
- content-length:
- - "318"
- x-ebay-esb-call-name:
+ x-ebay-api-pool-name:
+ - ___cDRidW90amJobm1saHNv
+ x-ebay-api-server-name:
+ - ___dWtgMWQ3MmYrM2A0ZygyNSg+Nys3MzsrNTI5PTY/Mg==
+ x-ebay-esb-app-name:
+ - appid
+ x-ebay-esb-call-name:
- GetSessionID
- date:
- - Mon, 16 Apr 2012 11:13:24 GMT
- x-ebay-api-server-name:
- - ____ffffffffffffffffffffffffffffffffffffffffffff
- body:
- string: |-
- <?xml version="1.0" encoding="UTF-8"?>
- <GetSessionIDResponse xmlns="urn:ebay:apis:eBLBaseComponents"><Timestamp>2012-04-16T11:13:25.255Z</Timestamp><Ack>Success</Ack><Version>767</Version><Build>E767_CORE_BUNDLED_14671989_R1</Build><SessionID>fake</SessionID></GetSessionIDResponse>
- http_version: "1.1"
- recorded_at: Mon, 16 Apr 2012 11:12:57 GMT
+ x-ebay-esb-guid:
+ - urn:uuid:FCAF20798D43F99AC91358655620822
+ x-ebay-esb-siteid:
+ - siteid
+ date:
+ - Sat, 29 Dec 2012 19:41:25 GMT
+ content-length:
+ - '730'
+ connection:
+ - Keep-Alive
+ body:
+ encoding: US-ASCII
+ string: ! '<?xml version="1.0" encoding="UTF-8"?>
+
+ <GetSessionIDResponse xmlns="urn:ebay:apis:eBLBaseComponents"><Timestamp>2012-12-29T19:41:25.878Z</Timestamp><Ack>Failure</Ack><Errors><ShortMessage>Invalid
+ value for header "X-EBAY-API-SITEID".</ShortMessage><LongMessage>Header
+ "X-EBAY-API-SITEID" with value "siteid" is out of range.</LongMessage><ErrorCode>10012</ErrorCode><SeverityCode>Error</SeverityCode><ErrorParameters
+ ParamID="0"><Value>X-EBAY-API-SITEID</Value></ErrorParameters><ErrorParameters
+ ParamID="1"><Value>siteid</Value></ErrorParameters><ErrorClassification>RequestError</ErrorClassification></Errors><Version>801</Version><Build>E801_INTL_BUNDLED_15589440_R1</Build></GetSessionIDResponse>'
+ http_version: '1.1'
+ recorded_at: Sat, 29 Dec 2012 19:41:26 GMT
+recorded_with: VCR 2.3.0