.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "TRAFFIC_VIA" "1" "Apr 16, 2024" "9.2" "Apache Traffic Server" .SH NAME traffic_via \- Traffic Server Via header decoder .SH SYNOPSIS .sp \fBtraffic_via\fP [OPTIONS] [VIA ...] .SH DESCRIPTION .sp \fBtraffic_via\fP decodes the Traffic Server Via header codes. Via header strings are passed as command\-line options. The enclosing square brackets are optional. .sp If the argument is \(aq\-\(aq, \fBtraffic_via\fP will filter standard input for Via headers. This modes supports only supports Via headers that are enclosed by square brackets. .SH OPTIONS .INDENT 0.0 .TP .B \-h, \-\-help Print usage information and exit. .UNINDENT .INDENT 0.0 .TP .B \-V, \-\-version Print version. .UNINDENT .SH EXAMPLES .sp Decode the Via header from command\-line arguments: .INDENT 0.0 .INDENT 3.5 .sp .EX $ traffic_via \(dq[uScMsEf p eC:t cCMp sF]\(dq Via header is [uScMsEf p eC:t cCMp sF], Length is 22 Via Header Details: Request headers received from client :simple request (not conditional) Result of Traffic Server cache lookup for URL :miss (a cache \(dqMISS\(dq) Response information received from origin server :error in response Result of document write\-to\-cache: :no cache write performed Proxy operation result :unknown Error codes (if any) :connection to server failed Tunnel info :no tunneling Cache Type :cache Cache Lookup Result :cache miss (url not in cache) Parent proxy connection status :no parent proxy or unknown Origin server connection status :connection open failed .EE .UNINDENT .UNINDENT .sp Decode the Via header from a curl request, using the \fI\%X\-Debug\fP plugin: .INDENT 0.0 .INDENT 3.5 .sp .EX $ curl \-H \(dqX\-Debug: Via\(dq \-I http://test.example.com | traffic_via \- Via header is uScMsSf pSeN:t cCMi p sS, Length is 24 Via Header Details: Request headers received from client :simple request (not conditional) Result of Traffic Server cache lookup for URL :miss (a cache \(dqMISS\(dq) Response information received from origin server :connection opened successfully Result of document write\-to\-cache: :no cache write performed Proxy operation result :served or connection opened successfully Error codes (if any) :no error Tunnel info :no tunneling Cache Type :cache Cache Lookup Result :cache miss (url not in cache) Parent proxy connection status :no parent proxy or unknown Origin server connection status :connection opened successfully .EE .UNINDENT .UNINDENT .SH COPYRIGHT 2024, dev@trafficserver.apache.org .\" Generated by docutils manpage writer. .