TSHttpHdrStatusGet(3ts)

TSHttpHdrStatusGet3ts

Tshttphdrstatusget api function

Usage

#include <ts/ts.h>
TSHttpStatus TSHttpHdrStatusGet(TSMBuffer bufp, TSMLoc offset)

Overview

Retrieve the status code value from the HTTP response header identified by bufp and offset. The value should be an enumeration value of TSHttpStatus, although because plugins can call TSHttpHdrStatusSet() this may not be true. If the header is not a valid response then TS_HTTP_STATUS_NONE is returned.

Releases

3 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10
  2. 11
  3. 12

From trafficserver-dev 9.2.5+ds-0+deb12u4 in Debian 12 (Bookworm). Parsed by carta from the page's man source.