Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Correct IETF URL for Geo-Position header.

  • Loading branch information...
commit 64646858b21bf25df843853f8d299a5f78afcbf5 1 parent 075a41f
Randy Reddig authored July 18, 2010
2  README.rdoc
Source Rendered
... ...
@@ -1,6 +1,6 @@
1 1
 = Rack::Geo
2 2
 
3  
-Rack middleware for parsing and serializing IETF draft {Geo-Position}[http://tools.ietf.org/html/draft-daviel-html-geo-tag-08] HTTP headers.
  3
+Rack middleware for parsing and serializing IETF draft {Geo-Position}[http://tools.ietf.org/html/draft-daviel-http-geo-header-05] HTTP headers.
4 4
 
5 5
 == Prerequisites
6 6
 
2  lib/rack/geo.rb
@@ -24,6 +24,8 @@ def initialize(value=nil)
24 24
       MATCH_HDN = /\shdn=([0-9\.]+)(?:\s|\z)/i.freeze
25 25
       MATCH_SPD = /\sspd=([0-9\.]+)(?:\s|\z)/i.freeze
26 26
 
  27
+      # Parse Geo-Position header:
  28
+      # http://tools.ietf.org/html/draft-daviel-http-geo-header-05
27 29
       def parse!(value)
28 30
         reset!
29 31
         value = value.to_s.strip

0 notes on commit 6464685

Please sign in to comment.
Something went wrong with that request. Please try again.