RubyGems.org

a Rails gem that allows you to validate a URL entered in a form. It validates if the URL exists by hitting it with a HEAD request. The improved version includes retries for common patterns when the head request is refused before giving a failure notice. It also looks up a SITE_URL constant to the user agent in the headers. Also has the option to also check that the URL returns content of a specified type.

installgem install http_url_validation_improved
Authors

Erik Gregg, Walter McGinnis, Kieran Pilkington

3,901 total downloads 559 for this version
Owners

B2389e133502771dd15b1c2fd7752672

Gemfile
gem "http_url_validation_improved", "~> 1.3.1"
Versions
  1. 1.3.1 June 14, 2012
  2. 1.3.0 February 3, 2011
  3. 1.2.0 June 14, 2010
  4. 1.1.1 June 3, 2010
Show all versions (5 total)
Runtime Dependencies
  1. addressable >= 0
Development Dependencies
  1. thoughtbot-shoulda >= 0