Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    $curl -I moneydesktop.com/hi
    HTTP/1.1 301 Moved Permanently
    Server: nginx/1.0.11
    Date: Fri, 03 Feb 2012 00:19:34 GMT
    Content-Type: text/html
    Content-Length: 185
    Connection: keep-alive
    Location: http://moneydesktop.com
    X-Career-API: http://careerapi.moneydesktop.com/docs


That is the correct response. You are not sending the appropriate HTTP request.


Huh? curl -I is a HEAD request, isn't it?



I know, my confusion was at the down vote and correction; clearly that's what they wanted people to see. I'm not sure what mistake people thought I made.


They were probably down-voting the use of an "X-" response header.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: