You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2023/05/14 09:38:36 UTC
[dubbo] 01/01: Revert "refactor rest header prefix from #rest# to rest-service- , according to triple (#12275)"
This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch revert-12275-feature/refactor_rest_must_header_prefix
in repository https://gitbox.apache.org/repos/asf/dubbo.git
commit b7f34d35cadebce79d85752e2c3ab1bea6aa7d00
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Sun May 14 17:38:28 2023 +0800
Revert "refactor rest header prefix from #rest# to rest-service- , according to triple (#12275)"
This reverts commit 89f839809d3d10f2f9390478826b5cd526da9705.
---
.../java/org/apache/dubbo/rpc/protocol/rest/constans/RestConstant.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dubbo-rpc/dubbo-rpc-rest/src/main/java/org/apache/dubbo/rpc/protocol/rest/constans/RestConstant.java b/dubbo-rpc/dubbo-rpc-rest/src/main/java/org/apache/dubbo/rpc/protocol/rest/constans/RestConstant.java
index b853c5477c..5f429856da 100644
--- a/dubbo-rpc/dubbo-rpc-rest/src/main/java/org/apache/dubbo/rpc/protocol/rest/constans/RestConstant.java
+++ b/dubbo-rpc/dubbo-rpc-rest/src/main/java/org/apache/dubbo/rpc/protocol/rest/constans/RestConstant.java
@@ -45,7 +45,7 @@ public interface RestConstant {
String TEXT_PLAIN = "text/plain";
String ACCEPT = "Accept";
String DEFAULT_ACCEPT = "*/*";
- String REST_HEADER_PREFIX = "rest-service-";
+ String REST_HEADER_PREFIX = "#rest#";
// http