-
-
Save spencergibb/80a134b4738c78ca64e4d0c77214fcb6 to your computer and use it in GitHub Desktop.
Workaround for "MIME type may not contain reserved characters" with Spring Cloud Camden, Spring Boot 1.5 and zuul url routes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# if you have a content-type with an encoding, this will produce a "MIME type may not contain reserved characters". | |
zuul: | |
routes: | |
myservice: | |
url: http://httpbin.org:80 | |
path: /get/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# use RibbonRoutingFilter instead of the SimpleHostRoutingFilter | |
zuul: | |
routes: | |
myservice: | |
serviceId: myservice | |
path: /get/** | |
myservice: | |
ribbon: | |
NIWSServerListClassName: com.netflix.loadbalancer.ConfigurationBasedServerList | |
listOfServers: httpbin.org:80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment