Add support for HEAD endpoints; add example accepting Range: header
#776
+209
−0
Range: header
#776