Commit 09654ceb by wangnb

包活干V2.1.0:feign调用问题修改--think.wang

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@28818 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent fb068b7f
...@@ -29,8 +29,7 @@ public class FeignConfiguration implements RequestInterceptor{ ...@@ -29,8 +29,7 @@ public class FeignConfiguration implements RequestInterceptor{
while (headerNames.hasMoreElements()) { while (headerNames.hasMoreElements()) {
String name = headerNames.nextElement(); String name = headerNames.nextElement();
if (Constants.REQUEST_COOKIE_KEY.equalsIgnoreCase(name) if (Constants.REQUEST_COOKIE_KEY.equalsIgnoreCase(name)
|| "content-length".equalsIgnoreCase(name) || "content-length".equalsIgnoreCase(name)) {
|| "content-type".equalsIgnoreCase(name)) {
continue; continue;
} }
if (Constants.USER_TOKEN_KEY.equalsIgnoreCase(name)) { if (Constants.USER_TOKEN_KEY.equalsIgnoreCase(name)) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!