I don't understand why I have only "first value", where is the "second value" ?
If I do a "response.setHeader("myHeader", "third value") after the addHeader(), the setHeader() overrides the value and it's normal but why addHeader doesn't work ?.
What's wrong with this code ?
Note that request and response headers are different. What you're setting/adding are response headers, whereas headerValues is part of the request - so they're two completely different sets of headers.
Update: Which, I now see, you just figured out :-)
Ping & DNS - updated with new look and Ping home screen widget