Giter Site home page Giter Site logo

Add support for IPv6 about httpbin HOT 7 CLOSED

postmanlabs avatar postmanlabs commented on April 28, 2024 8
Add support for IPv6

from httpbin.

Comments (7)

toreanderson avatar toreanderson commented on April 28, 2024 5

Was this issue closed by mistake, or was it fixed when closed but later regressed?

At the time of writing, it does not seem to work:

$ host -t AAAA httpbin.org
httpbin.org has no AAAA record
$ curl https://httpbin.org/ip
{
  "origin": "84.214.x.y"
}

These tests were done from a dual-stacked machine, so curl would have preferred to use IPv6 if it could have, as demonstrated by using a different print my ip-service that is IPv6 capable:

$ curl http://icanhazip.com
2a02:fe0:x:y:825e:b586:2ada:4d2e
$ curl -4 http://icanhazip.com
84.214.x.y

from httpbin.

sigmavirus24 avatar sigmavirus24 commented on April 28, 2024 1

I don't know why @kennethreitz closed this but I'll reiterate that this isn't a bug in the application code. We and icanhazip work the same way, we both use remote_addr from the request object in Flask. The difference is that httpbin is deployed on Heroku so we also return X-Forwarded-For. Heroku does not have IPv6 support thus this is purely a deployment issue.

from httpbin.

gruns avatar gruns commented on April 28, 2024

+1

Please add IPv6 support.

from httpbin.

ikomwrestling avatar ikomwrestling commented on April 28, 2024

Few years have passed and httpbin still have no IPv6 support.

@kennethreitz Please add support for IPv6.

from httpbin.

ad-m avatar ad-m commented on April 28, 2024

Heroku does not support IPv6 ( https://help.heroku.com/I8L6RW01/does-heroku-support-ipv6 ). Therefore, the change requires a complete change in the way the application is deployed.

from httpbin.

ssbarnea avatar ssbarnea commented on April 28, 2024

Any chance to make this happen? lacking support for ipv6 is critical for http verification. Broken ipv6 is a very common error.

from httpbin.

wanisfahmyDE avatar wanisfahmyDE commented on April 28, 2024

I just used https://mockbin.org/ which has support for IPv6

from httpbin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.