Giter Site home page Giter Site logo

Monkey patch socket. about vcrpy HOT 5 OPEN

kevin1024 avatar kevin1024 commented on May 18, 2024
Monkey patch socket.

from vcrpy.

Comments (5)

bryanhelmig avatar bryanhelmig commented on May 18, 2024

Mentioned HTTPretty issue: gabrielfalcao/HTTPretty#10

from vcrpy.

colonelpanic8 avatar colonelpanic8 commented on May 18, 2024

@kevin1024 I know that this could take a ridiculous amount of work, and what essentially amounts ot a complete refactor, but have you ever thought about trying to use httppretty as the patching backend for vcrpy?

from vcrpy.

kevin1024 avatar kevin1024 commented on May 18, 2024

Yup that would be amazing. I would love for vcrpy to work at a lower level instead of patching httplib. It would certainly make the maintenance easier!

Of course patching at the socket layer means we need to parse HTTP to support some features. There are some nice HTTP parsing libraries out there these days.

from vcrpy.

twolfson avatar twolfson commented on May 18, 2024

As a heads up, we took a different approach and made a vcrpy-based dynamic callback to use on HTTPretty in #224.

from vcrpy.

neozenith avatar neozenith commented on May 18, 2024

A lot of changes have happened to VCRpy since this ticket was opened. As this ticket has become stale, would you mind closing it if it is no longer needed / relevant?

If I haven't heard anything in a week I'll mark it as closed as we have a lot of old tickets that need to be groomed to make it easier to see what is still relevant.

However if it is still needed, please feel free to re-open or create a new ticket.

Thanks! 🙏

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.