title: HTTP Status Code from URL in Javascript
body: <p>I'm trying to find a function that return HTTP Status Code from an URL, and then "make something" based on the returned statuses (404, 416, 200 etc...)</p>
  
  <p>Can someone help me? I've tried the other functions posted here on StackOverflow but anyone was usefull for my purpose.</p>
  
  <p>I need to integrate this function inside my PlayFramework web-app.</p>
  
  <p>Thanks a lot</p>