Doing a get on "www.example.com" used to return a simple page, now it redirects to "http://www.iana.org/domains/example/".
This is causing many, many failures when running the specs.
See #79 for a solution.
I looked over this, and I don't think this is the best way to fix the specs because you're changing what's being tested. IMO, it would be better to replace "www.example.com" with another static page (maybe even "http://www.iana.org/domains/example/") and change the associated content lengths, etc.
I agree in that this is not the best way; it just appeared to me to be the fastest way to bring specs back to a working state. Using iana.org/domains/example doesn't sound like a good idea to me because its contents are more likely to change than example.com's.
Perhaps there is a better way of testing webmock without relying on behavior of external HTTP servers at all?
I merged in @grig's pull request, but ultimately, I agree it's not the best way. It was just the expedient way to get the specs passing again so I could make some other bug fixes.
If either of you want to take a shot at providing a better solution, please do. Here are a couple ideas of mine: