Respect response code set by finish_request callback