Article.addHeader() is currently write-only - there is no way to retrieve the
headers - is it needed?
-----------------------------------------------------------------------------------------------------
Key: NET-369
URL: https://issues.apache.org/jira/browse/NET-369
Project: Commons Net
Issue Type: Bug
Affects Versions: 2.2
Reporter: Sebb
Priority: Minor
The method addHeader() 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira