public function getResponseHeader ($name) {
    $this->throwIfNotSubmitted();
    if (isset($this->responseHeaders[$name])) {
      return $this->responseHeaders[$name];
    } else {
      return null;
    }
  }