From 1380e71352c17fef939b0c720e22d0b5d9e840fb Mon Sep 17 00:00:00 2001 From: buildmaster Date: Fri, 13 Dec 2019 19:20:29 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- reference/html/index.html | 6 +++--- reference/html/spring-cloud-gateway.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/reference/html/index.html b/reference/html/index.html index 7d76c6df..c3d6befd 100644 --- a/reference/html/index.html +++ b/reference/html/index.html @@ -466,7 +466,7 @@ URIs defined in routes without a port will get a default port set to 80 and 443

4.7. Method Route Predicate Factory

-

The Method Route Predicate Factory takes one parameter: the HTTP method to match.

+

The Method Route Predicate Factory takes one or more parameters: the HTTP methods to match.

application.yml
@@ -478,11 +478,11 @@ URIs defined in routes without a port will get a default port set to 80 and 443 - id: method_route uri: https://example.org predicates: - - Method=GET + - Method=GET,POST
-

This route would match if the request method was a GET.

+

This route would match if the request method was a GET or a POST.

diff --git a/reference/html/spring-cloud-gateway.html b/reference/html/spring-cloud-gateway.html index 7d76c6df..c3d6befd 100644 --- a/reference/html/spring-cloud-gateway.html +++ b/reference/html/spring-cloud-gateway.html @@ -466,7 +466,7 @@ URIs defined in routes without a port will get a default port set to 80 and 443

4.7. Method Route Predicate Factory

-

The Method Route Predicate Factory takes one parameter: the HTTP method to match.

+

The Method Route Predicate Factory takes one or more parameters: the HTTP methods to match.

application.yml
@@ -478,11 +478,11 @@ URIs defined in routes without a port will get a default port set to 80 and 443 - id: method_route uri: https://example.org predicates: - - Method=GET + - Method=GET,POST
-

This route would match if the request method was a GET.

+

This route would match if the request method was a GET or a POST.