HttpStatusChecker
Easily Checking http status by http header with Multi-threaded
Features
- Get http status
- A threaded (fast) per host name
- Return redirect url and errors when get http access
Installation
Add this line to your application's Gemfile:
gem 'http_status_checker'
And then execute:
$ bundle
Or install it yourself as:
$ gem install http_status_checker
Usage Command Line
$ http_status_checker http://morizyun.github.io
Usage Ruby Program
require 'http_status_checker'
HttpStatusChecker.check ['http://morizyun.github.io', 'http://www.yahoo.co.jp']
Contributing
- Fork it ( https://github.com/morizyun/http_status_checker/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request