diff options
author | tv <tv@krebsco.de> | 2020-09-15 21:54:20 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2020-09-15 21:54:20 +0200 |
commit | b455a8745705a07e0ae11f86b416322f1b3c917f (patch) | |
tree | 79d4caab5076e88200694f756cdc9a4aefe3c512 | |
parent | 780808d284b690866b876e1ed2da3bd50369457e (diff) |
-rwxr-xr-x | htgen | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -78,9 +78,11 @@ eval "$(echo "$Request_Line" | sed -rn ' # EOF ## debug -cat 1>&2 <<EOF +if test "$HTGEN_VERBOSE" = true; then + cat 1>&2 <<EOF [1;33m$Method[m [1;4;34m$Request_URI[m HTTP/$HTTP_Version EOF +fi ## }}} ## Parse HTTP-Headers. {{{ # TODO support https://tools.ietf.org/html/rfc7230#section-3.2.4, obs-fold? |