mfs / hit

A curl -I replacement.
GNU General Public License v3.0
1 stars 0 forks source link

Invalid Header #8

Closed mfs closed 9 years ago

mfs commented 9 years ago

Not sure when this started happening.

hit google.com works hit imgur.com works hit microsoft.com Invalid Header provided hit stackoverflow.com works hit yahoo.com works hit bing.com Invalid Header provided

Two cloudflare sites also give the same error.

Wow.

http://twitter.com Invalid Header provided https://twitter.com works

https and http both don't work for microsoft.com.

Wierd.

mfs commented 9 years ago

Found a bug in the code. I intended to replace the domain with the looked up IP address in the request however this wasn't being done. Doing this didn't help. Am thinking about rolling back the IP address display to see if that fixes it.

mfs commented 9 years ago

Nope. That didn't fix it. It's possible I'm doing something stupid here. It's late. Will look at this tomorrow.

mfs commented 9 years ago

Weird. This is no longer happening. :/ Putting it down to an issue with a nightly.

Commit 53b8a1e7d6b998fc91c0594d0943fbcd708fe8a6 swaps the domain in the URL with the looked up IP address as intended.