https://github.com/nahi/httpclient
'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby.
https://github.com/nahi/httpclient
Keywords from Contributors
rubygems activerecord mvc activejob crash-reporting ruby-gem grape background-jobs oauth2 rspec
Last synced: about 17 hours ago
JSON representation
Repository metadata
'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby.
- Host: GitHub
- URL: https://github.com/nahi/httpclient
- Owner: nahi
- Created: 2009-10-30T02:23:41.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2025-02-22T01:13:29.000Z (10 months ago)
- Last Synced: 2025-11-20T07:03:00.250Z (24 days ago)
- Language: Ruby
- Homepage: https://github.com/nahi/httpclient
- Size: 2.37 MB
- Stars: 707
- Watchers: 24
- Forks: 301
- Open Issues: 96
- Releases: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
README.md
httpclient - HTTP accessing library.
Copyright (C) 2000-2015 NAKAMURA, Hiroshi nahi@ruby-lang.org.
'httpclient' gives something like the functionality of libwww-perl (LWP) in
Ruby. 'httpclient' formerly known as 'http-access2'.
See HTTPClient for documentation.
Features
- methods like GET/HEAD/POST/* via HTTP/1.1.
- HTTPS(SSL), Cookies, proxy, authentication(Digest, NTLM, Basic), etc.
- asynchronous HTTP request, streaming HTTP request.
- debug mode CLI.
- by contrast with net/http in standard distribution;
- Cookies support
- MT-safe
- streaming POST (POST with File/IO)
- Digest auth
- Negotiate/NTLM auth for WWW-Authenticate (requires net/ntlm module; rubyntlm gem)
- NTLM auth for Proxy-Authenticate (requires 'win32/sspi' module; rubysspi gem)
- extensible with filter interface
- you don't have to care HTTP/1.1 persistent connection
(httpclient cares instead of you)
- Not supported now
- Cache
- Rather advanced HTTP/1.1 usage such as Range, deflate, etc.
(of course you can set it in header by yourself)
httpclient command
Usage: 1) httpclient get https://www.google.co.jp/?q=ruby
Usage: 2) httpclient
For 1) it issues a GET request to the given URI and shows the wiredump and
the parsed result. For 2) it invokes irb shell with the binding that has a
HTTPClient as 'self'. You can call HTTPClient instance methods like;
get "https://www.google.co.jp/", :q => :ruby
Author
- Name:: Hiroshi Nakamura
- E-mail:: nahi@ruby-lang.org
- Project web site:: http://github.com/nahi/httpclient
License
This program is copyrighted free software by NAKAMURA, Hiroshi. You can
redistribute it and/or modify it under the same terms of Ruby's license;
either the dual license version in 2003, or any later version.
httpclient/session.rb is based on http-access.rb in http-access/0.0.4. Some
part of it is copyrighted by Maebashi-san who made and published
http-access/0.0.4. http-access/0.0.4 did not include license notice but when
I asked Maebashi-san he agreed that I can redistribute it under the same terms
of Ruby. Many thanks to Maebashi-san.
Install
You can install httpclient via rubygems: gem install httpclient
Usage
See HTTPClient for documentation.
You can also check sample/howto.rb how to use APIs.
Bug report or Feature request
Please file a ticket at the project web site.
- find a similar ticket from https://github.com/nahi/httpclient/issues
- create a new ticket by clicking 'Create Issue' button.
- you can use github features such as pull-request if you like.
Changes
See ChangeLog
Owner metadata
- Name: Hiroshi Nakamura
- Login: nahi
- Email:
- Kind: user
- Description:
- Website: http://www.google.com/profiles/nakahiro
- Location: Cupertino, CA
- Twitter: nahi
- Company: Treasure Data
- Icon url: https://avatars.githubusercontent.com/u/44209?v=4
- Repositories: 79
- Last ynced at: 2025-09-23T16:35:03.394Z
- Profile URL: https://github.com/nahi
GitHub Events
Total
- Issues event: 4
- Watch event: 9
- Delete event: 2
- Issue comment event: 28
- Push event: 4
- Pull request review comment event: 3
- Pull request event: 22
- Pull request review event: 5
- Fork event: 12
- Create event: 3
Last Year
- Issues event: 4
- Watch event: 6
- Delete event: 2
- Issue comment event: 24
- Push event: 4
- Pull request review comment event: 3
- Pull request event: 22
- Pull request review event: 5
- Fork event: 11
- Create event: 3
Committers metadata
Last synced: 16 days ago
Total Commits: 806
Total Committers: 88
Avg Commits per committer: 9.159
Development Distribution Score (DDS): 0.535
Commits in past year: 18
Committers in past year: 3
Avg Commits per committer in past year: 6.0
Development Distribution Score (DDS) in past year: 0.222
| Name | Commits | |
|---|---|---|
| Hiroshi Nakamura | n****i@r****g | 375 |
| nahi | n****i@a****0 | 268 |
| Florian Hars | h****s@p****e | 14 |
| Jean Boussier | j****r@g****m | 14 |
| NAKAMURA | n****o@g****m | 11 |
| Akira Matsuda | r****e@d****p | 7 |
| Dave Golombek | d****k@m****m | 7 |
| Yasuo Honda | y****a@g****m | 5 |
| Thomas de Grivel | b****h@g****m | 4 |
| Ian Blenke | i****n@b****m | 4 |
| grosser | m****l@g****t | 3 |
| Akinori MUSHA | k****u@i****g | 2 |
| Steven Bazyl | s****l@g****m | 2 |
| Olle Jonsson | o****n@g****m | 2 |
| Mitsutaka Mimura | t****m@g****m | 2 |
| Marc Ignacio | p****i | 2 |
| John Sherwood | j****0@r****g | 2 |
| John Cant | a****t@g****m | 2 |
| Eito Katagiri | e****l@g****m | 2 |
| Chetan Sarva | c****n@b****m | 2 |
| yui-knk | s****a@g****m | 2 |
| bdo | b****u@g****m | 2 |
| almogcohen | a****2@g****m | 2 |
| Taryn East | g****t@t****g | 2 |
| TANABE Ken-ichi | n****n@t****g | 2 |
| TAKANO Mitsuhiro | t****2@g****m | 2 |
| Alex Dolski | a****d@n****t | 2 |
| Yorick Peterse | y****e@o****m | 2 |
| David King | d****g@b****m | 1 |
| (no author) | (****)@a****0 | 1 |
| and 58 more... | ||
Committer domains:
- ruby-lang.org: 2
- yandex.ru: 2
- zzak.io: 1
- baldauf.org: 1
- zweitag.de: 1
- mail.rakuten.com: 1
- rewardstyle.com: 1
- scenetap.com: 1
- thr.com: 1
- accompani.com: 1
- pressrelations.de: 1
- apple.com: 1
- chef.io: 1
- bestinclass.com: 1
- olery.com: 1
- n-ary.net: 1
- tknetworks.org: 1
- taryneast.org: 1
- betteradvertising.com: 1
- rootwheel.org: 1
- idaemons.org: 1
- grosser.it: 1
- blenke.com: 1
- mylookout.com: 1
- dio.jp: 1
- dnil.net: 1
- altimos.de: 1
- papercavalier.com: 1
- criteo.com: 1
- firemirror.com: 1
- interlink-ua.com: 1
- godobject.net: 1
- verizon.net: 1
- googlegroups.com: 1
- matake.jp: 1
- proxyman.com: 1
- progra.de: 1
- vincentwoo.com: 1
- bastelfreak.de: 1
- hlmbusiness.com: 1
- bsdpower.com: 1
- nts.ricoh.co.jp: 1
- livestream.com: 1
- airemix.jp: 1
- sperling.co.nz: 1
- justincase.cx: 1
- envygeeks.com: 1
- dena.com: 1
- dena.jp: 1
- pre-sense.de: 1
Issue and Pull Request metadata
Last synced: 12 days ago
Total issues: 57
Total pull requests: 81
Average time to close issues: about 1 year
Average time to close pull requests: 8 months
Total issue authors: 52
Total pull request authors: 51
Average comments per issue: 2.0
Average comments per pull request: 1.63
Merged pull request: 39
Bot issues: 0
Bot pull requests: 0
Past year issues: 5
Past year pull requests: 25
Past year average time to close issues: 9 days
Past year average time to close pull requests: about 1 month
Past year issue authors: 5
Past year pull request authors: 7
Past year average comments per issue: 1.0
Past year average comments per pull request: 1.52
Past year merged pull request: 16
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- tit (3)
- dankozlowski (2)
- dgolombek (2)
- chaitrahegde115 (2)
- eregon (1)
- hickscorp (1)
- mtjhax (1)
- ilavenilp (1)
- anothermh (1)
- rocchapter (1)
- konklone (1)
- mattbnz (1)
- fatkodima (1)
- bdewater (1)
- dmnelson (1)
Top Pull Request Authors
- yahonda (9)
- nahi (7)
- byroot (6)
- seedot1234 (4)
- takkanm (4)
- olleolleolle (2)
- dgolombek (2)
- mrpasquini (2)
- Taher-Ghaleb (2)
- andrykonchin (2)
- mikz (2)
- ybiquitous (2)
- bdunne (2)
- sapio-bdeamer (2)
- jeremy (2)
Top Issue Labels
- Feedback (2)
- BUG (1)
- FeatureRequest (1)
Top Pull Request Labels
- Feedback (1)
Package metadata
- Total packages: 7
-
Total downloads:
- rubygems: 929,849,861 total
- Total docker downloads: 2,127,721,694
- Total dependent packages: 798 (may contain duplicates)
- Total dependent repositories: 55,669 (may contain duplicates)
- Total versions: 150
- Total maintainers: 5
gem.coop: httpclient
gives something like the functionality of libwww-perl (LWP) in Ruby
- Homepage: https://github.com/nahi/httpclient
- Documentation: http://www.rubydoc.info/gems/httpclient/
- Licenses: ruby
- Latest release: 2.9.0 (published 10 months ago)
- Last Synced: 2025-12-10T06:02:05.318Z (4 days ago)
- Versions: 53
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 464,834,811 Total
- Docker Downloads: 1,043,026,320
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.033%
- Downloads: 0.048%
- Docker downloads count: 0.084%
- Maintainers (3)
rubygems.org: httpclient
gives something like the functionality of libwww-perl (LWP) in Ruby
- Homepage: https://github.com/nahi/httpclient
- Documentation: http://www.rubydoc.info/gems/httpclient/
- Licenses: ruby
- Latest release: 2.9.0 (published 10 months ago)
- Last Synced: 2025-12-10T14:01:00.679Z (4 days ago)
- Versions: 53
- Dependent Packages: 796
- Dependent Repositories: 55,660
- Downloads: 464,958,466 Total
- Docker Downloads: 1,043,026,320
-
Rankings:
- Downloads: 0.05%
- Dependent packages count: 0.06%
- Docker downloads count: 0.132%
- Dependent repos count: 0.149%
- Average: 0.689%
- Forks count: 1.539%
- Stargazers count: 2.204%
- Maintainers (3)
proxy.golang.org: github.com/nahi/httpclient
- Homepage:
- Documentation: https://pkg.go.dev/github.com/nahi/httpclient#section-documentation
- Licenses:
- Latest release: v3.2.8+incompatible (published over 11 years ago)
- Last Synced: 2025-12-10T22:04:09.278Z (4 days ago)
- Versions: 40
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Forks count: 1.656%
- Stargazers count: 2.292%
- Average: 6.081%
- Dependent packages count: 9.576%
- Dependent repos count: 10.802%
gem.coop: httpclient-fixcerts
gives something like the functionality of libwww-perl (LWP) in Ruby
- Homepage: https://github.com/nahi/httpclient
- Documentation: http://www.rubydoc.info/gems/httpclient-fixcerts/
- Licenses: ruby
- Latest release: 2.8.5 (published over 3 years ago)
- Last Synced: 2025-12-10T22:04:14.282Z (4 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 21,718 Total
- Docker Downloads: 20,834,527
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 9.396%
- Downloads: 28.189%
- Maintainers (1)
rubygems.org: httpclient-fixcerts
gives something like the functionality of libwww-perl (LWP) in Ruby
- Homepage: https://github.com/nahi/httpclient
- Documentation: http://www.rubydoc.info/gems/httpclient-fixcerts/
- Licenses: ruby
- Latest release: 2.8.5 (published over 3 years ago)
- Last Synced: 2025-12-10T22:04:17.671Z (4 days ago)
- Versions: 1
- Dependent Packages: 1
- Dependent Repositories: 3
- Downloads: 21,718 Total
- Docker Downloads: 20,834,527
-
Rankings:
- Forks count: 1.525%
- Stargazers count: 2.19%
- Dependent packages count: 7.745%
- Dependent repos count: 12.637%
- Average: 14.179%
- Downloads: 46.798%
- Maintainers (1)
rubygems.org: httpclient-jgraichen
gives something like the functionality of libwww-perl (LWP) in Ruby
- Homepage: http://github.com/nahi/httpclient
- Documentation: http://www.rubydoc.info/gems/httpclient-jgraichen/
- Licenses: ruby
- Latest release: 2.3.4.2 (published almost 12 years ago)
- Last Synced: 2025-12-10T22:04:14.174Z (4 days ago)
- Versions: 1
- Dependent Packages: 1
- Dependent Repositories: 6
- Downloads: 6,574 Total
-
Rankings:
- Forks count: 1.525%
- Stargazers count: 2.19%
- Dependent packages count: 7.745%
- Dependent repos count: 9.098%
- Average: 15.88%
- Downloads: 58.84%
- Maintainers (1)
gem.coop: httpclient-jgraichen
gives something like the functionality of libwww-perl (LWP) in Ruby
- Homepage: http://github.com/nahi/httpclient
- Documentation: http://www.rubydoc.info/gems/httpclient-jgraichen/
- Licenses: ruby
- Latest release: 2.3.4.2 (published almost 12 years ago)
- Last Synced: 2025-12-10T22:04:14.112Z (4 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 6,574 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 19.843%
- Downloads: 59.53%
- Maintainers (1)
Dependencies
- http-cookie ~> 1.0 development
- pry >= 0 development
- rack ~> 2.2 development
- rack-ntlm-test-service >= 0 development
- rake >= 0 development
- rdoc >= 0 development
- rubyntlm >= 0 development
- rubysspi >= 0 development
- simplecov >= 0 development
- simplecov-rcov >= 0 development
- test-unit >= 0 development
- mutex_m >= 0
- webrick >= 0
- actions/checkout v3 composite
- ruby/setup-ruby v1 composite
Score: 33.0065977092099