Nice hack! :) But I think you can simplify it a lot.

$ curl -I -X GET http://awesome-site.com/