Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

"geocode" method failing for authenticated geocoder.us call #4

Open
cj2 opened this Issue Oct 2, 2009 · 0 comments

Comments

Projects
None yet
1 participant

cj2 commented Oct 2, 2009

When using authenticated requests to geocoder.us the requests fail with 401 not authorized. Replacing line 166 of geocoders.rb with the code below solves the problem.

res = Net::HTTP.start(uri.host, uri.port) {|http|
http.request(req)
}

Is this mis-configuration or a problem with the proxy code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment