a fix for HEAD request.

my codez skillz brings all the boys to the yard, and they're like it's better than yours...