Merge pull request #18255 from prathamesh-sonpatki/fix-single-space-for-head

Remove single space response body for head request