diff options
-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? |