DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26554>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26554 ApacheBench: add ability to override User-Agent header ------- Additional Comments From [EMAIL PROTECTED] 2004-02-02 18:38 ------- Jeff, that certainly works (a quick read of RFC 1945 suggests that the User-Agent header can come later in the request message, so moving the User-Agent to after the Accept request header appears to be RFC-compliant), and I've attached another patch implementing this. I think I prefer the -U plan though, as * it's less fragile (strstr() is case-sensitive & the more users type, the greater chance of error) * this general idea, whether implemented as -U or special handling of -H, requires the -h usage() information to be updated, and requires about the same amount of code changes (so there's not much "economy" argument against -U) * [weak argument] adding -U is backwards-compatible (doesn't alter the order of headers or change the behavior of -H in any situations) But I'd be happy either way, as either approach gives users more flexibility. Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
