def __init__(self, body=None, status=None, reason=None, headers=None):
    if body:
      if hasattr(body, 'read'):
        self._body = body
      else:
        self._body = StringIO.StringIO(body)
    else:
      self._body = None
    if status is not None:
      self.status = int(status)
    else:
      self.status = None
    self.reason = reason
    self._headers = headers or {}
Load port configurations and adds them to an internal dict.
dataset/ETHPy150Open bradfitz/addressbooker/atom/http_interface.py/HttpResponse.__init__--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/client/services/port_manager.py/PortManager.Add