Branch: refs/heads/master
Home:
https://github.com/resteasy/Resteasy
Commit: 3615672eac918c04ea13e95ad04d063ca93565c3
https://github.com/resteasy/Resteasy/commit/3615672eac918c04ea13e95ad04d0...
Author: NicoNes <nicolas.nesmon(a)gmail.com>
Date: 2019-06-10 (Mon, 10 Jun 2019)
Changed paths:
M
profiling-tests/src/test/java/org/jboss/resteasy/test/profiling/InMemoryClientEngine.java
M resteasy-core/src/main/java/org/jboss/resteasy/core/InternalDispatcher.java
M
resteasy-core/src/main/java/org/jboss/resteasy/core/interception/jaxrs/PreMatchContainerRequestContext.java
M resteasy-core/src/main/java/org/jboss/resteasy/mock/MockHttpRequest.java
M resteasy-core/src/main/java/org/jboss/resteasy/specimpl/ResteasyHttpHeaders.java
M
resteasy-core/src/main/java/org/jboss/resteasy/specimpl/UnmodifiableMultivaluedMap.java
A
testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/util/ResteasyHttpHeadersTest.java
A
testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/util/UnmodifiableMultivaluedMapTest.java
Log Message:
-----------
[RESTEASY-2268] ResteasyHttpHeaders does not follow JAX-RS spec concerning modifiability
(#2063)
* ResteasyHttpHeaders.getRequestHeaders() and ResteasyHttpHeaders.getRequestHeader() must
return not modifiable collection
Signed-off-by: NicoNes <nicolas.nesmon(a)gmail.com>
* Fix formatting
Signed-off-by: NicoNes <nicolas.nesmon(a)gmail.com>
* ContainerRequestContext.getHeaders() must return a mutable map
Signed-off-by: NicoNes <nicolas.nesmon(a)gmail.com>
* HttpRequest.getMutableHeaders() should be used anywhere we have to edit request headers
Signed-off-by: NicoNes <nicolas.nesmon(a)gmail.com>