[http] Fix a bug when download a non-existing block.