saving work
Adding support for range headers. Not yet working though.