fixed range header bug on head request, so it will get the correct conte...

...nt length