You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does Mr. Video correctly handle cassettes whose yml is saved using binary encoding (via VCR + Mechanize)? When I boot the app and click one of the saved episodes in Chrome, I see the raw encoded payload, not renderable HTML.
Mr. Video
Browser view
Saved cassette encoding:
encoding: ASCII-8BITstring: !binary|-
Sample cassette yml
(full binary encoded responses snipped)
---
http_interactions:
- request:
method: geturi: https://www.coolwebsite.bro/yes/076591body:
encoding: US-ASCIIstring: ''headers:
Accept-Encoding:
- gzip,deflate,identityAccept:
- "*/*"User-Agent:
- Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)Accept-Charset:
- ISO-8859-1,utf-8;q=0.7,*;q=0.7Accept-Language:
- en-us,en;q=0.5Host:
- www.cool.comConnection:
- keep-aliveKeep-Alive:
- '300'response:
status:
code: 200message: OKheaders:
Content-Type:
- text/html;charset=UTF-8Transfer-Encoding:
- chunkedConnection:
- keep-aliveServer:
- ServerDate:
- Sun, 03 Dec 2017 22:35:45 GMTStrict-Transport-Security:
- max-age=47474747; includeSubDomains; preloadVary:
- Accept-Encoding,User-AgentP3p:
- policyref="https://www.wild.com/w3c/p3p.xml",CP="CAO DSP LAW CUR ADM IVAoIVDo CONo OTPo OUR DELi PUBi OTRi BUS PHY ONL UNI PUR FIN COM NAV INT DEMCNT STA HEA PRE LOC GOV OTC "X-Frame-Options:
- SAMEORIGINCache-Control:
- no-cachePragma:
- no-cacheExpires:
- "-1"Content-Encoding:
- gzipSet-Cookie:
- session-id-time=2082787201l; Domain=.cool.com; Expires=Tue, 01-Jan-203608:00:01 GMT; Path=/
- session-id=130-4952975-1123748; Domain=.cool.com; Expires=Tue, 01-Jan-203608:00:01 GMT; Path=/X-Cache:
- Miss from cloudfrontVia:
- 1.1 67dc96024835.cloudfront.net (CloudFront)body:
encoding: ASCII-8BITstring: !binary|- 00000SUPERLONGBINARYSTRINGHERE00000FFFFF==http_version:
recorded_at: Sun, 03 Dec 2017 22:35:47 GMT
- request:
method: geturi: https://www.cool.bro/web/Bopnbody:
encoding: US-ASCIIstring: ''headers:
Accept-Encoding:
- gzip,deflate,identityAccept:
- "*/*"User-Agent:
- Mozilla/5.0 (Linux; Android 5.1.1; Nexus 7 Build/LMY47V) AppleWebKit/537.36(KHTML, like Gecko) Chrome/47.0.2526.76 Safari/537.36Accept-Charset:
- ISO-8859-1,utf-8;q=0.7,*;q=0.7Accept-Language:
- en-us,en;q=0.5Host:
- www.cool.comConnection:
- keep-aliveKeep-Alive:
- '300'response:
status:
code: 404message: Not Foundheaders:
Content-Type:
- text/html;charset=UTF-8Transfer-Encoding:
- chunkedConnection:
- keep-aliveServer:
- ServerDate:
- Sun, 03 Dec 2017 23:26:29 GMTStrict-Transport-Security:
- max-age=47474747; includeSubDomains; preloadVary:
- Accept-Encoding,User-AgentP3p:
- policyref="https://www.cool.com/w3c/p3p.xml",CP="CAO DSP LAW CUR ADM IVAoIVDo CONo OTPo OUR DELi PUBi OTRi BUS PHY ONL UNI PUR FIN COM NAV INT DEMCNT STA HEA PRE LOC GOV OTC "X-Frame-Options:
- SAMEORIGINCache-Control:
- no-cachePragma:
- no-cacheExpires:
- "-1"Content-Encoding:
- gzipSet-Cookie:
- session-id-time=2082787201l; Domain=.cool.com; Expires=Tue, 01-Jan-203608:00:01 GMT; Path=/
- session-id=140-5769689-9376058; Domain=.cool.com; Expires=Tue, 01-Jan-203608:00:01 GMT; Path=/X-Cache:
- Error from cloudfrontVia:
- 1.1 ba841e7f2a9ef2fcd.cloudfront.net (CloudFront)body:
encoding: ASCII-8BITstring: !binary|- 00000SUPERLONGBINARYSTRINGHERE00000FFFFF==http_version:
recorded_at: Sun, 03 Dec 2017 23:26:29 GMT
- request:
method: geturi: https://www.cool.com/dp/openbody:
encoding: US-ASCIIstring: ''headers:
Accept-Encoding:
- gzip,deflate,identityAccept:
- "*/*"User-Agent:
- Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)Accept-Charset:
- ISO-8859-1,utf-8;q=0.7,*;q=0.7Accept-Language:
- en-us,en;q=0.5Host:
- www.cool.comConnection:
- keep-aliveKeep-Alive:
- '300'response:
status:
code: 200message: OKheaders:
Server:
- ServerContent-Type:
- text/html;charset=UTF-8Strict-Transport-Security:
- max-age=47474747; includeSubDomains; preloadVary:
- Accept-Encoding,User-AgentP3p:
- policyref="https://www.cool.com/w3c/p3p.xml",CP="CAO DSP LAW CUR ADM IVAoIVDo CONo OTPo OUR DELi PUBi OTRi BUS PHY ONL UNI PUR FIN COM NAV INT DEMCNT STA HEA PRE LOC GOV OTC "X-Frame-Options:
- SAMEORIGINCache-Control:
- no-cachePragma:
- no-cacheExpires:
- "-1"Content-Encoding:
- gzipDate:
- Sun, 03 Dec 2017 23:56:21 GMTTransfer-Encoding:
- chunkedConnection:
- Transfer-Encoding
- keep-aliveSet-Cookie:
- session-id-time=2082787201l; Domain=.cool.com; Expires=Tue, 01-Jan-203608:00:01 GMT; Path=/
- session-id=141-2432141-8277436; Domain=.cool.com; Expires=Tue, 01-Jan-203608:00:01 GMT; Path=/body:
encoding: ASCII-8BITstring: !binary|- 00000SUPERLONGBINARYSTRINGHERE00000FFFFF==http_version:
recorded_at: Sun, 03 Dec 2017 23:56:22 GMT
The text was updated successfully, but these errors were encountered:
jm3
changed the title
encoded cassette payloads?
Binary encoded cassette payloads?
Dec 14, 2017
Does Mr. Video correctly handle cassettes whose yml is saved using binary encoding (via VCR + Mechanize)? When I boot the app and click one of the saved episodes in Chrome, I see the raw encoded payload, not renderable HTML.
Mr. Video
Browser view
Saved cassette encoding:
Sample cassette yml
(full binary encoded responses snipped)
The text was updated successfully, but these errors were encountered: