Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

I tried to add an article I wrote to my profile but I receive an error response of: "Sorry, we could not retrieve that URL for some reason."

I have been able to add links from 2 other domains, so I am not sure if there is some issue with the host of this blog post. The link I am using is:

share|improve this question
I'm also getting an SSL error on that site, which is also a problem. – TRiG is Timothy Richard Green Dec 3 '12 at 17:39

We do a HEAD request to the URL to see what type of content it is, followed by a GET if it’s HTML. In this case, the server is returning a 403 Forbidden on the HEAD request, at which point we stop.

(I also tried doing manual raw HTTP HEAD requests with the same result.)

share|improve this answer
You mean people actually use HEAD requests? – BoltClock's a Unicorn May 10 '12 at 14:21
Heh, yes. In this case, we want to know if it’s HTML before GETting the payload. If it’s not HTML (eg PDF), we don’t want the payload, just the URL. – Matt Sherman May 10 '12 at 19:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .