Fulfill the request promise on 304 responses (fixes #495)

On a 304 response, the body and Content-Type header are empty. This change makes sure the response is not tried to be read like binary data. Instead if fulfills the promise right away with the response code and revision.