Pip can't use 2 private indexes on the same domain

Hi folks,
I use 2 private packages repositories: stable and dev. Unfortunately, pip doesn’t handle well private repos:

Do you think this bug can be fixed soon? It’s sadly a showstopper for us.


Pip definitely does caching using the netloc only.

In my PR to support keyring (no link handy right now, sorry) it adds the ability to map back to the originally specified index URL, so with that it may be possible to switch the caching over and fix this. But I’m sure a contribution would be welcomed by the pip team.