Groups
Sign in
Groups
http.rb: a fast, easy-to-use Ruby HTTP client with a chainable API
Conversations
About
Send feedback
Help
http.rb: a fast, easy-to-use Ruby HTTP client with a chainable API
Contact owners and managers
1–30 of 52
Mark all as read
Report group
0 selected
Scott Wright
2
3/21/21
Chaining defaults
After further investigation this works as expected: client = client.via(“localhost”, 9090) Does add
unread,
Chaining defaults
After further investigation this works as expected: client = client.via(“localhost”, 9090) Does add
3/21/21
Ben
, …
Aleksey Zapparov
4
3/13/21
Original Request from Response?
You can use build_request that will return you a request object. then yiu can send it client. Also,
unread,
Original Request from Response?
You can use build_request that will return you a request object. then yiu can send it client. Also,
3/13/21
Alan Savage
,
Tony Arcieri
3
9/11/20
Enable logging by default?
Figured it out: ``` HTTP.default_options = HTTP::Options.new( features: { logging: { logger: Rails.
unread,
Enable logging by default?
Figured it out: ``` HTTP.default_options = HTTP::Options.new( features: { logging: { logger: Rails.
9/11/20
Joshua Powell
,
Tony Arcieri
2
9/3/20
from HTTParty to http.rb
https://stackoverflow.com/questions/43215768/http-rb-how-to-disable-ssl-verification On Thu, Sep 3,
unread,
from HTTParty to http.rb
https://stackoverflow.com/questions/43215768/http-rb-how-to-disable-ssl-verification On Thu, Sep 3,
9/3/20
Aureo Ponce
,
Marc Köhlbrugge
2
4/12/20
HTTP Response Handling
If you don't care about the specific status of the response, but only care about whether it was
unread,
HTTP Response Handling
If you don't care about the specific status of the response, but only care about whether it was
4/12/20
Marc Köhlbrugge
4/12/20
Feature: Raising an exception in case of a non-successful response
Unlike many other gems, HTTP doesn't raise an exception when the response is unsuccessful due to
unread,
Feature: Raising an exception in case of a non-successful response
Unlike many other gems, HTTP doesn't raise an exception when the response is unsuccessful due to
4/12/20
stephen pierce
2
8/27/19
Set socket options on HTTP client
After thinking about it more, there may be another solution to my problem. The problem I am having is
unread,
Set socket options on HTTP client
After thinking about it more, there may be another solution to my problem. The problem I am having is
8/27/19
Erick Takeshi
,
Tony Arcieri
3
7/10/19
No response from request
Thank you very much, worked now, will definitely use the logging when it happens again. Em qua, 10 de
unread,
No response from request
Thank you very much, worked now, will definitely use the logging when it happens again. Em qua, 10 de
7/10/19
Joe Fleck
, …
Aleksey Zapparov
7
1/18/19
how to include header in HTTP.post
Alternatively you can provide cookie header yourself: HTTP.headers("Cookie" => "foo
unread,
how to include header in HTTP.post
Alternatively you can provide cookie header yourself: HTTP.headers("Cookie" => "foo
1/18/19
Slava Ptsarev
,
Tony Arcieri
3
1/17/19
How to easily read a response cookie?
Thanks Tony! It's strange I didn't notice this method. Might be a good idea to add this to
unread,
How to easily read a response cookie?
Thanks Tony! It's strange I didn't notice this method. Might be a good idea to add this to
1/17/19
Christopher Peterson
,
Tony Arcieri
7
9/11/18
How can I print out the raw request HTTP is sending?
Nevermind, user error :) On Tuesday, September 11, 2018 at 2:49:59 PM UTC-7, Christopher Peterson
unread,
How can I print out the raw request HTTP is sending?
Nevermind, user error :) On Tuesday, September 11, 2018 at 2:49:59 PM UTC-7, Christopher Peterson
9/11/18
florian paindorge
7/3/18
Date of next release ?
Hi, Thanks a lot for your gem. I quickly got used to it. I'm particularly interested in the
unread,
Date of next release ?
Hi, Thanks a lot for your gem. I quickly got used to it. I'm particularly interested in the
7/3/18
Matt Nash
,
Aleksey Zapparov
2
6/19/18
Non techy - getting going
You can grab cookie jar from response: ``` response = HTTP.post(auth_url, :params => auth_params).
unread,
Non techy - getting going
You can grab cookie jar from response: ``` response = HTTP.post(auth_url, :params => auth_params).
6/19/18
Juan David Zuluaga Zapata
,
Tony Arcieri
2
6/8/18
Testing best practices
There's a webmock adapter for it: https://github.com/bblimke/webmock/tree/master/lib/webmock/
unread,
Testing best practices
There's a webmock adapter for it: https://github.com/bblimke/webmock/tree/master/lib/webmock/
6/8/18
Aleksey Zapparov
5/21/18
Re: HTTP GET request using ENV from Figaro Gem
It's clearly issue with `ENV["google_api_key"]` you should inspect what it returns. As
unread,
Re: HTTP GET request using ENV from Figaro Gem
It's clearly issue with `ENV["google_api_key"]` you should inspect what it returns. As
5/21/18
Elijah Lucian
, …
Aleksey Zapparov
3
4/3/18
undefined method 'parse'
Response body does not have parse method. It represents body. Which is just stream of data. You need
unread,
undefined method 'parse'
Response body does not have parse method. It represents body. Which is just stream of data. You need
4/3/18
Tony Arcieri
2/15/18
Google Summer of Code Projects/Mentors?
If anyone has ideas for an http.rb related project and would like to mentor a student, Ruby (along
unread,
Google Summer of Code Projects/Mentors?
If anyone has ideas for an http.rb related project and would like to mentor a student, Ruby (along
2/15/18
Stephen Schor
,
Tony Arcieri
3
1/17/18
skipping normalize_header
Hey Tony. Sorry for not seeing that in the issues myself. Thanks for the fast reply. Looks like a
unread,
skipping normalize_header
Hey Tony. Sorry for not seeing that in the issues myself. Thanks for the fast reply. Looks like a
1/17/18
Roman Gaufman
1/12/18
basic_auth throwing 401 Unauthorized with Dahua IP camera
I'm on Ubuntu linux, using Ruby 2.4.2p198 and http 3.0.0 When I try to make a connection to a
unread,
basic_auth throwing 401 Unauthorized with Dahua IP camera
I'm on Ubuntu linux, using Ruby 2.4.2p198 and http 3.0.0 When I try to make a connection to a
1/12/18
Florian Görlitz
, …
Aleksey Zapparov
4
11/22/17
HTTP 3.0.0 breaks with VCR
upgrading webmock fixed the problem, that's the solution. Thanks a lot!
unread,
HTTP 3.0.0 breaks with VCR
upgrading webmock fixed the problem, that's the solution. Thanks a lot!
11/22/17
Brian Watson
9/27/17
API POST with array using HTTP gem
I'm having trouble with this api and can't seem to get over the hump. Using the HTTP gem.
unread,
API POST with array using HTTP gem
I'm having trouble with this api and can't seem to get over the hump. Using the HTTP gem.
9/27/17
染谷洋平
,
Tony Arcieri
3
7/30/17
How to fix timeout error
I'm sorry for late reply. Thanks! 2017年7月15日(土) 2:55 Tony Arcieri <bas...@gmail.com>: That
unread,
How to fix timeout error
I'm sorry for late reply. Thanks! 2017年7月15日(土) 2:55 Tony Arcieri <bas...@gmail.com>: That
7/30/17
Janko Marohnić
,
Tony Arcieri
2
5/24/17
Down 3.0.0 released with HTTP.rb backend
Glad to hear such a glowing success report! On Tue, May 23, 2017 at 11:29 PM Janko Marohnić <janko
unread,
Down 3.0.0 released with HTTP.rb backend
Glad to hear such a glowing success report! On Tue, May 23, 2017 at 11:29 PM Janko Marohnić <janko
5/24/17
wo...@piesync.com
,
Aleksey Zapparov
3
1/30/17
Date of next release?
Hi Alexey, Thank you for this. Looking forward to hear when the new release will go live. Kind
unread,
Date of next release?
Hi Alexey, Thank you for this. Looking forward to hear when the new release will go live. Kind
1/30/17
Ed de Almeida
,
Tony Arcieri
3
1/3/17
Is there any support for PUT, DELETE and PATCH HTTP verbs? If so, how?
Thanks Tony! Em terça-feira, 3 de janeiro de 2017 13:43:21 UTC-2, Ed de Almeida escreveu: Hi! I'
unread,
Is there any support for PUT, DELETE and PATCH HTTP verbs? If so, how?
Thanks Tony! Em terça-feira, 3 de janeiro de 2017 13:43:21 UTC-2, Ed de Almeida escreveu: Hi! I'
1/3/17
Ilya Vassilevsky
, …
Swartz, Jonathan
7
7/12/16
Is It Threadsafe™?
Thanks again. Gives me confidence. :) On Jul 11, 2016, at 9:27 PM, Tony Arcieri <bas...@gmail.com
unread,
Is It Threadsafe™?
Thanks again. Gives me confidence. :) On Jul 11, 2016, at 9:27 PM, Tony Arcieri <bas...@gmail.com
7/12/16
Andrew Burleson
,
Tony Arcieri
2
5/22/16
Request Cache / Inspect Request?
We had a caching system based on rack-cache at one point, but removed it due to performance and code
unread,
Request Cache / Inspect Request?
We had a caching system based on rack-cache at one point, but removed it due to performance and code
5/22/16
Juanito Fatas
,
Tony Arcieri
3
5/16/16
response.parse raise an error when getting an image
Thank you for your response and sorry for my ignorance. I was hoping to use `response.parse` in a
unread,
response.parse raise an error when getting an image
Thank you for your response and sorry for my ignorance. I was hoping to use `response.parse` in a
5/16/16
Tony Arcieri
, …
Tom Wardrop
3
4/30/16
[ANN] HTTP (The Gem!) 2.0.0: a fast, elegant HTTP client for Ruby
Good job Tony. Always like to see people making better libraries like this. Will definitely use in
unread,
[ANN] HTTP (The Gem!) 2.0.0: a fast, elegant HTTP client for Ruby
Good job Tony. Always like to see people making better libraries like this. Will definitely use in
4/30/16
Boris Kheyfets
,
Aleksey Zapparov
4
3/26/16
Upload csv file?
Oh. indeed you need to pass request body indeed :D On Sat, Mar 26, 2016 at 6:33 PM, Boris Kheyfets
unread,
Upload csv file?
Oh. indeed you need to pass request body indeed :D On Sat, Mar 26, 2016 at 6:33 PM, Boris Kheyfets
3/26/16