def getheader(self, name, default=None):
    if name in self._headers:
      return self._headers[name]
    else:
      return default
dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/atom/http_core.py/HttpResponse.getheader/original