title: PHP cURL output is truncated
body: <p>I am trying to load a <code>JS</code> file with <code>cURL</code>, but the result is getting truncated. I also tried <code>file_get_contents</code> and it still truncates.<br>
  But I can access <code>.js</code> file directly from browser. There isn't anything in the <code>request headers</code> except <code>user agent</code> and <code>referer</code>, which I included in <code>curl request</code>.  </p>
  
  <p>What is going on? Is the server messing with me?</p>