Bug 54115 - Minor enhancements to HttpClient test helper class
Summary: Minor enhancements to HttpClient test helper class
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Catalina (show other bugs)
Version: trunk
Hardware: PC Linux
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2012-11-07 17:10 UTC by Brian Burch
Modified: 2012-11-11 23:48 UTC (History)
0 users

patch to HttpClient (1.60 KB, patch)
2012-11-07 17:10 UTC, Brian Burch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Burch 2012-11-07 17:10:11 UTC
Created attachment 29566 [details]
patch to HttpClient

Main reason for this change is to add two new accessor methods to the enhanced logic in https://issues.apache.org/bugzilla/show_bug.cgi?id=53960.

I also took the opportunity to make the sendRequest method tolerant of null elements in its input array.

Finally, I added comments (definitely not proper javadoc!) to some other methods to clarify their purpose.

This change is 100% backward compatible.
Comment 1 Mark Thomas 2012-11-11 23:48:32 UTC
Fixed in trunk and 7.0.x and will be included in 7.0.33 onwards.