cli icon indicating copy to clipboard operation
cli copied to clipboard

Print only one header field

Open tercerapersona opened this issue 7 years ago • 2 comments

Is it possible to print only one, or multiple header fields? Based on this,

'H' request headers
'B' request body
'h' response headers
'b' response body

Like, http --print=H[Host,User-Agent]b <url>

tercerapersona avatar Jun 22 '17 22:06 tercerapersona

what are you mean by multiple header fields? is it both request and response header field? if it is, cap13

sriyanfernando avatar Jul 25 '17 18:07 sriyanfernando

@john-bonachon you want to filter the headers to only print Host and User-Agent, correct?

sigmavirus24 avatar Jul 26 '17 12:07 sigmavirus24