def _should_retry(resp):
  return (resp.status_code == httplib.REQUEST_TIMEOUT or
          (resp.status_code >= 500 and
           resp.status_code < 600))
Verify that if the body producer fires its Deferred and then keeps
dataset/ETHPy150Open GoogleCloudPlatform/appengine-opencv-sudoku-python/cloudstorage/api_utils.py/_should_retry--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/web/test/test_newclient.py/RequestTests._sendRequestBodyFinishedEarlyThenTooManyBytes