Skip to content
This repository has been archived by the owner on Apr 4, 2018. It is now read-only.
/ rack-geo Public archive

Rack middleware providing pass-through adding of Geo bits from forms and cookies

Notifications You must be signed in to change notification settings

alphagov/rack-geo

Repository files navigation

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 <- |              |
                            --------------

About

Rack middleware providing pass-through adding of Geo bits from forms and cookies

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published