> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# add_http_header

<div className="kinetica-pydoc">
  <div className="dl py method">
    <div className="dt sig sig-object py" id="gpudb.GPUdb.Options.add_http_header"> <span className="sig-name descname"><span className="pre">add\_http\_header</span></span><span className="sig-paren">(</span><span className="em sig-param"><span className="n"><span className="pre">header</span></span></span>, <span className="em sig-param"><span className="n"><span className="pre">value</span></span></span><span className="sig-paren">)</span><a href="https://github.com/kineticadb/kinetica-api-python/blob/master/gpudb/gpudb.py#L3884"><span className="viewcode-link"><span className="pre">\[source]</span></span></a></div>

    <div className="dd">
      <p>Adds a custom HTTP header to the set of ones which will be used per HTTP endpoint submission by the <a className="reference internal" href="#gpudb.GPUdb" title="gpudb.GPUdb"><code className="xref py py-class docutils literal notranslate"><span className="pre">GPUdb</span></code></a> to the server. The header key and value must be strings. Also, the following headers are protected, and cannot be overridden by the user:</p>

      <ul className="simple">
        <li>
          <p>“Accept”</p>
        </li>

        <li>
          <p>“Authorization”</p>
        </li>

        <li>
          <p>“Content-type”</p>
        </li>

        <li>
          <p>“X-Kinetica-Group”</p>
        </li>
      </ul>

      <p><strong>Parameters</strong></p>

      <div className="blockquote">
        <div>
          <div className="dl simple">
            <div className="dt">header (<span className="em">str</span>) –</div>

            <div className="dd">
              <p>The single header to add.</p>
            </div>

            <div className="dt">value (<span className="em">str</span>) –</div>

            <div className="dd">
              <p>Value of the single header value to add.</p>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>

  <div className="dl py method">
    <div className="dt sig sig-object py" id="gpudb.GPUdb.add_http_header"> <span className="sig-name descname"><span className="pre">add\_http\_header</span></span><span className="sig-paren">(</span><span className="em sig-param"><span className="n"><span className="pre">header</span></span></span>, <span className="em sig-param"><span className="n"><span className="pre">value</span></span></span><span className="sig-paren">)</span><a href="https://github.com/kineticadb/kinetica-api-python/blob/master/gpudb/gpudb.py#L8136"><span className="viewcode-link"><span className="pre">\[source]</span></span></a></div>

    <div className="dd">
      <p>Adds an HTTP header to the map of additional HTTP headers to send to the server with each request. If the header is already in the map, its value is replaced with the specified value. The user is not allowed to modify the following headers:</p>

      <ul className="simple">
        <li>
          <p><code className="docutils literal notranslate"><span className="pre">Accept</span></code></p>
        </li>

        <li>
          <p><code className="docutils literal notranslate"><span className="pre">Authorization</span></code></p>
        </li>

        <li>
          <p><code className="docutils literal notranslate"><span className="pre">X-Kinetica-Group</span></code></p>
        </li>

        <li>
          <p><code className="docutils literal notranslate"><span className="pre">Content-type</span></code></p>
        </li>
      </ul>
    </div>
  </div>
</div>
