About Question enthuware.jwpv6.2.1029 :
Posted: Sun Jan 08, 2012 7:48 am
In my opinion, the answer "response.addHeader("CustomHeader", "123");" is not entirely true. It is true if, in this stage, the response does not already contain a header named "CustomHeader", otherwise this action will add a new value to it, but will not create the header (as it is requested)
So, it must be specified in the question statement that we assume that a header with name "CustomHeader" does not (already) exist in the response headers.
So, it must be specified in the question statement that we assume that a header with name "CustomHeader" does not (already) exist in the response headers.