fixed minor bug in ranged PUT request handling