It would be nice to have a method which consistently returned a string. In the case of a header which was repeated in the response, join them with a comma. The HTTP spec says that the following two are equivalent:
X-Foo: 1
X-Foo: 2
X-Foo: 1, 2
I'm not suggesting changing the current header method, but adding a new one.
It would be nice to have a method which consistently returned a string. In the case of a header which was repeated in the response, join them with a comma. The HTTP spec says that the following two are equivalent:
I'm not suggesting changing the current
header
method, but adding a new one.