title: HTTP: How should I respond to "Range: bytes=" when Range is unsupported?
body: <p>What is the correct response to a GET request with the header field <code>Range: bytes=278528-</code> if <code>Range</code> is not supported?</p>
  
  <p>Reading the HTTP header definitions (<a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html" rel="nofollow">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html</a>) i think i should at least set: <code>Accept-Ranges: none</code>, but it clearly states that  </p>
  
  <blockquote>
    <p>Clients MAY generate byte-range requests without having received this header for the resource involved.</p>
  </blockquote>
  
  <p>So, if a client requests a range, should I:</p>
  
  <ul>
  <li>Reply with the whole file from byte 0?</li>
  <li>Reply with some status error? (400/406/416/501) see: <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html" rel="nofollow">http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html</a></li>
  </ul>