Made necessary modification for handling a server response with a header without a body(such as with a conditional-get)