Giter VIP home page Giter VIP logo

Comments (7)

MashaAseeva avatar MashaAseeva commented on May 20, 2024 1

Any updates on this issue - I'm having the same issue and would prefer to use json over yaml for the serializer due to performance issues loading in the yaml file.

from vcrpy.

kevin1024 avatar kevin1024 commented on May 20, 2024 1

Maybe a new serializer: base64-encoded json???

For the yaml performance issue - make sure you are using the libyaml c bindings instead of falling back to the pure python implementation - it’s a lot faster.

from vcrpy.

kevin1024 avatar kevin1024 commented on May 20, 2024

yeah looks like it's having trouble serializing the binary data.

from vcrpy.

dotIN avatar dotIN commented on May 20, 2024

Any plan on a fix for this issue

from vcrpy.

kevin1024 avatar kevin1024 commented on May 20, 2024

Sorry, I've been really busy and haven't had a chance to check it out. Do you have the same problem with the yaml serializer?

On Dec 5, 2013, at 6:03 AM, Raghavendra Kumar [email protected] wrote:

Any plan on a fix for this issue

β€”
Reply to this email directly or view it on GitHub.

from vcrpy.

kevin1024 avatar kevin1024 commented on May 20, 2024

It looks like the problem is that JSON can't serialize binary data. The response contains the binary zip file, which can't be encoded into UTF-8.

I'm not sure what the solution here is. I could base64 encode the response string, but that would break backwards compatibility with old JSON cassettes as well as defeat the ability to open the cassette file to inspect the response for debugging purposes.

from vcrpy.

dotIN avatar dotIN commented on May 20, 2024

Sorry forgot to mention, it does work with yaml

from vcrpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.