[httperf] Request with particular host header
Laghate, Prasanna
plaghate at akamai.com
Wed Jan 7 14:08:53 PST 2004
How do I make a request which goes to server 1.2.3.4, but with a hostheader
"x.y.com"?
The following request:
httperf --server=1.2.3.4 --server-name="x.y.com" --uri=/index.html
--print-request
gives:
SH0:GET /index.html HTTP/1.1
SH0:User-Agent: httperf/0.8
SH0:Host: 1.2.3.4
whereas I want:
SH0:GET /index.html HTTP/1.1
SH0:User-Agent: httperf/0.8
SH0:Host: x.y.com
Thanks,
Prasanna
More information about the httperf
mailing list