kraih/mojo — pull request #414 by augensalat (2012-11-20 00:19:26+00:00)
Title: Fixing a couple of issues with HTTP-Range for static files

Moin sri,

Mojolicious had some problems with certain HTTP-Range requests.
Here are my changes:

- fixed bug where a wrong Content-Length was calculated
for Range requests on empty files
- fixed bug where a wrong Content-Length was calculated
for swapped Range values
- do not silently ignore non-numeric value in Range
- support HTTP-Range for final bytes (Range: bytes -42)