-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Add -4 and -6 switches to force IP protocol version #94
Comments
No updates since 8 years? |
We'd love to fix this, but when looking into it, we see it still blocked in the underlying libraries. We'll keep looking for solutions, but we can't promise any timeline since we don't see any easy fix. Help or pointers very welcome! |
@Almad could you give some pointers on this bug what kind of blockers you see, so whoever is interested in helping here doesn't have to dig out that information again? Thanks! |
Ah, apologies, somehow thought it's linked here— psf/requests#1691 |
For https --print=Hh https://[YOUR-IPv6-ADDR-IN-BRACKETS]/ Host:example.com It doesn't work for HTTPS because the SSL certificate is assigned to a host name that doesn't match the IP you are connecting to. It looks like to really fix this, a different upstream library would needed, as it seems the current one is not going to support this (or can't). |
This comment was marked as spam.
This comment was marked as spam.
@Ousret I tested that fork and found that the I installed privately with |
Would be useful in some cases, e.g. when a host serves different responses depending on the IP version.
-4
and-6
are pretty common for this anyway.The text was updated successfully, but these errors were encountered: