Comments (5)
I'm drilling down, and I've got httpclient to work on it's own as I'd expect, here's the code
require 'httpclient'
client = HTTPClient.new
client.ssl_config.set_trust_ca('certificate off the server')
# set_client_cert_file(cert_file, key_file)
# client.ssl_config.set_client_cert_file('certificate-privateKey.pem', 'certificate-privateKey.pem')
url = "https://doodaa"
resp = client.get(url)
puts resp.content
puts resp.status
If I alter that certificate, or use another one, it fails, as it should.
How to represent that code in savon is the next question.
I'm going to remove curb and go with httpclient from now on, at least I know that works in this instance
from httpi.
we had some strange problems with curb/httpi, have you tried another adapter ?
from httpi.
I had to rewrite 2 lines in the httpi gem to get it to work with httpclient or curb. They may have already brought these changes back into the main httpi gem by now, I'm not keeping tabs on it, get it to work, then get onto the next thing :-)
https://github.com/uniglam/httpi
from httpi.
woops, didn't mean to close it, not sure it is closed
from httpi.
released v0.9.6 which should fix this issue.
from httpi.
Related Issues (20)
- Read Timeout and Open Timeout is not working (under savon) HOT 3
- Diese Präsenz ist derzeit nicht verfügbar. HOT 1
- TLSv1_3 parameter support for ssl_version HOT 1
- 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
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.