Commit Graph

217 Commits

Author SHA1 Message Date
Spencer Gibb
15bda96e91 Merge branch '2.0.x' 2018-09-05 16:09:38 -04:00
Eugene
e0bf63bed1 Added support for MultipartFile (#66)
Fixes gh-62

### Notes
The solution is based on
```
        <dependency>
            <groupId>io.github.openfeign.form</groupId>
            <artifactId>feign-form-spring</artifactId>
            <version>3.3.0</version>
        </dependency>
```

Class `feign.form.spring.SpringFormEncoder` was added inside `org.springframework.cloud.openfeign.support.SpringEncoder` because it's doesn't has some checks:
1. Check of  `bodyType` on null.
`org.springframework.cloud.openfeign.support.SpringEncoder#encode` don't handle situation when `bodyType` is null.

2. No check for content type `multipart/form-data` in header. 
`feign.form.FormEncoder` requires `multipart/form-data` in header for proper processing.

All this checks added and tests are passed.
2018-09-05 16:07:56 -04:00
Spencer Gibb
7148cce790 Upgrades to openfeign 9.7.0
fixes gh-53
2018-08-06 11:52:45 -04:00
Spencer Gibb
88fae41f02 Updates to work with boot 2.1.0 2018-08-03 15:04:17 -04:00
buildmaster
34cb91bc4c Bumping versions to 2.0.2.BUILD-SNAPSHOT after release 2018-07-31 19:06:45 +00:00
buildmaster
58dc45d230 Going back to snapshots 2018-07-31 19:06:45 +00:00
buildmaster
80af701ccf Update SNAPSHOT to 2.0.1.RELEASE 2018-07-31 19:04:57 +00:00
buildmaster
51ad63231d Bumping versions to 2.0.1.BUILD-SNAPSHOT after release 2018-06-18 20:33:23 +00:00
buildmaster
6c09501d77 Going back to snapshots 2018-06-18 20:33:22 +00:00
buildmaster
7e1c91c8b8 Update SNAPSHOT to 2.0.0.RELEASE 2018-06-18 20:31:53 +00:00
Spencer Gibb
674b88b467 Updates to s-c-build 2.0.2.BUILD-SNAPSHOT 2018-06-05 15:42:52 -04:00
buildmaster
f4fc531857 Going back to snapshots 2018-04-20 20:31:00 +00:00
buildmaster
596b42291f Update SNAPSHOT to 2.0.0.RC1 2018-04-20 20:30:19 +00:00
buildmaster
17fa94f704 Going back to snapshots 2018-03-22 21:22:08 +00:00
buildmaster
baf92c8226 Update SNAPSHOT to 2.0.0.M2 2018-03-22 21:21:31 +00:00
Ryan Baxter
139cc9dab4 Changes and new tests from Netflix 2018-02-22 15:43:04 -05:00
Ryan Baxter
217443048f openfeign project 2018-02-05 20:25:44 -05:00