Handle case where requested range results in empty response.

This commit is contained in:
Itamar Turner-Trauring
2022-07-20 11:42:01 -04:00
parent 43c6af6fde
commit 69739f5f9b
3 changed files with 20 additions and 17 deletions

View File

@ -654,6 +654,8 @@ The ``Range`` header may be used to request exactly one ``bytes`` range, in whic
Interpretation and response behavior is as specified in RFC 7233 § 4.1.
Multiple ranges in a single request are *not* supported; open-ended ranges are also not supported.
If the response to a query is an empty range, the ``NO CONTENT`` (204) response code will be used.
Discussion
``````````