Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IP address returned is no longer correct #80

Closed
sigmavirus24 opened this issue Jan 19, 2013 · 6 comments
Closed

IP address returned is no longer correct #80

sigmavirus24 opened this issue Jan 19, 2013 · 6 comments

Comments

@sigmavirus24
Copy link
Contributor

If I do:

import requests
print requests.get('http://httpbin.org/get').json()['origin']

I get the wrong IP address. Same happens every other place I test this from.

@kennethreitz
Copy link
Contributor

I have a support ticket open with Heroku to get this resolved. Not sure what the cause is.

@sigmavirus24
Copy link
Contributor Author

Yeah it's bizarre.

@kennethreitz
Copy link
Contributor

I'm still not sure why it was broken before, but it is going to stay that way now in order to support PATCH requests.

Pick your poison :(

@sigmavirus24
Copy link
Contributor Author

That's fine. I was using the /ip endpoint for tech support for family. I have a different way around this now I think.

@kennethreitz
Copy link
Contributor

Fixed!

@sigmavirus24
Copy link
Contributor Author

🍻 🍰 Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants