Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.2
-
None
-
None
Description
The method addHeaderField() stores a header name/value in a StringBuffer, but provides no means to return the contents of the buffer.
Either the method and the field should be deleted, or there should be a getHeader() method - in which case the storage mechanism should probably be changed to a HashMap of some kind to make it easier to return individual header values.