DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28786>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28786 Can't remove the first Header with the HeaderManager Summary: Can't remove the first Header with the HeaderManager Product: JMeter Version: 2.0.0 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: HTTP AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I notice a problem in org.apache.jmeter.protocol.http.control.HeaderManager at line 291 in removeHeaderNamed. The for loop ignore the first header (element 0). So it is impossible to remove this first element. The loop should look like : for (int i = getHeaders().size() - 1; i >= 0; i--) and not : for (int i = getHeaders().size() - 1; i > 0; i--) Thanks for the work made on JMeter. Regards Benoit --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
