Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Rack middleware providing pass-through adding of Geo bits from forms and cookies
JavaScript Ruby Shell
tag: v0.10

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
docs/javascripts
example
lib
public/javascripts
spec
test/javascripts
.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.