Comments (6)
i like the idea. adapter gems could require the main gem like rspec does. this would replace the current logic of trying to require and use the best http client on the loadpath with being very explicit about the adapter to use.
from httpi.
Ok, I took a stab at it:
HTTPI Changes: https://github.com/jamescook/httpi/tree/split_adapters
Curb adapter: https://github.com/jamescook/httpi-curb-adapter
from httpi.
Any thoughts if this is a sensible approach?
from httpi.
at a conference right now, but i'll get back to you next week.
from httpi.
i started to take the idea a little bit further, but need to finish a couple of other tasks first.
i'll update this issue asap.
from httpi.
decided not to split adapters for now. it adds a lot of new issues which i don't have the time to deal with right now.
from httpi.
Related Issues (20)
- Enforce IPv6 use? HOT 2
- Allow common `block` for all requests HOT 4
- Licence issue with Socksify gem HOT 4
- How can we define the environment for mounted rails apps HOT 3
- Savon breaks with http gem >= 5.0.0 HOT 2
- chore: Fix rspec deprecation warnings
- CI stopped on Travis HOT 1
- Can we remove socksify as a dependency? HOT 3
- Optional dependency rack used internally HOT 3
- HTTPi fails with https endpoint HOT 2
- rack 3.0 support HOT 1
- The future of httpi HOT 4
- Rack::Utils::HeaderHash --> Rack::Headers HOT 2
- Warning on Ruby 3.3 HOT 5
- ntlm tests fail with opensslv3
- uninitialized constant `Rack::Headers` with rack 2.x HOT 3
- Warning: Rack::Utils::HeaderHash is deprecated and will be removed in Rack 3.1, switch to Rack::Headers HOT 1
- Downcasing of header keys breaks bad servers HOT 3
- Reimplement Rack::Auth::Digest in tests HOT 4
- Remove spec directory from published gem HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from httpi.