Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-cloud-netflix
Commits
97c8f4c0
Commit
97c8f4c0
authored
Aug 11, 2016
by
Coramo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 'RibbonRequest' cannot to encode issues
parent
8b911e60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
FeignLoadBalancer.java
...amework/cloud/netflix/feign/ribbon/FeignLoadBalancer.java
+1
-3
No files found.
spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/feign/ribbon/FeignLoadBalancer.java
View file @
97c8f4c0
...
...
@@ -123,9 +123,7 @@ public class FeignLoadBalancer extends
request
.
headers
());
// Apache client barfs if you set the content length
headers
.
remove
(
Util
.
CONTENT_LENGTH
);
return
new
RequestTemplate
().
method
(
request
.
method
())
.
append
(
getUri
().
toASCIIString
())
.
body
(
request
.
body
(),
request
.
charset
()).
headers
(
headers
).
request
();
return
Request
.
create
(
request
.
method
(),
getUri
().
toASCIIString
(),
headers
,
request
.
body
(),
request
.
charset
());
}
Request
toRequest
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment