Norman Maurer wrote:
Hi guys,
when working on junit test for AddHeaderHandler i notice that the
AddHeaderHandler use setHeader(String name, String value); . So it not
add a header, it set a header. This is not what i espected when i read
the Handlername.
So for me are 2 solutions:
1. Rename the AddHeaderHandler to SetHeaderHandler
+1
2. use addHeader(String name, String value) instand of setHeader(String
name, String value)
i prefer the first. What the you think ?
So do I: The most common usage is replacing/setting headers. Almost no
one use multiple header values.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]