Switch to using HEAD requests in xhr test.

@adamschwartz