Commit 2f831e55 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make it possible to expect on the req.bodylen as well.

parent 67a7b98e
......@@ -189,6 +189,8 @@ cmd_var_resolve(struct http *hp, char *spec)
return(hp->resp[2]);
if (!strcmp(spec, "resp.chunklen"))
return(hp->chunklen);
if (!strcmp(spec, "req.bodylen"))
return(hp->bodylen);
if (!strcmp(spec, "resp.bodylen"))
return(hp->bodylen);
if (!strcmp(spec, "resp.body"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment