Skip to content

Commit 409bf5f

Browse files
committed
Merge branch '6.2.x'
2 parents 00831a0 + e919d0a commit 409bf5f

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

spring-web/src/main/java/org/springframework/http/HttpHeaders.java

+4
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@
8383
* over the old instance's {@code entrySet()} and using
8484
* {@link #addAll(String, List)} rather than {@link #put(String, List)}.
8585
*
86+
* <p>This class is meant to reference "well-known" headers supported by Spring
87+
* Framework. If your application or library relies on other headers defined in RFCs,
88+
* please use methods that accept the header name as a parameter.
89+
*
8690
* @author Arjen Poutsma
8791
* @author Sebastien Deleuze
8892
* @author Brian Clozel

spring-web/src/main/java/org/springframework/http/MediaType.java

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
* A subclass of {@link MimeType} that adds support for quality parameters
4040
* as defined in the HTTP specification.
4141
*
42+
* <p>This class is meant to reference media types supported by Spring Framework.
43+
* If your application or library relies on other media types defined in RFCs,
44+
* please use {@link #parseMediaType(String)} or a custom utility class.
45+
*
4246
* @author Arjen Poutsma
4347
* @author Juergen Hoeller
4448
* @author Rossen Stoyanchev

spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientIntegrationTests.java

+3
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
import org.springframework.web.testfixture.xml.Pojo;
8484

8585
import static org.assertj.core.api.Assertions.assertThat;
86+
import static org.junit.jupiter.api.Assumptions.assumeFalse;
8687
import static org.junit.jupiter.params.provider.Arguments.argumentSet;
8788

8889
/**
@@ -192,6 +193,8 @@ void retrieveJson(ClientHttpConnector connector) {
192193

193194
@ParameterizedWebClientTest
194195
void applyAttributesToNativeRequest(ClientHttpConnector connector) {
196+
assumeFalse(connector instanceof ReactorClientHttpConnector,
197+
"Temporarily disabling flaky test for Reactor Netty");
195198
startServer(connector);
196199
prepareResponse(response -> {});
197200

0 commit comments

Comments
 (0)