Skip to content
Rack middleware providing pass-through adding of Geo bits from forms and cookies
JavaScript Ruby Shell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
.rvmrc
Gemfile
README.md
Rakefile
jenkins.sh
rack-geo.gemspec

README.md

Rack::Geo

Simple Rack middleware which processes incoming requests and adds, updates, and passes through as a Header, Geo-location information

                            ______________
GET / [no cookie]       -> | Geo IP       |
                           |              |
POST / [known params]   -> | Geo lookup   |
                           |              | -> Geo Header
GET / [with geo cookie] -> | Pass through |
                           |              |
             Geo Cookie <- |              |
                            --------------
Something went wrong with that request. Please try again.