Comments (5)
I think basic auth is slim and common enough for core. @andreaturli asked about this iirc
from feign.
+1
from feign.
Cool, I'll put together a pull request in the next couple days.
Until then, here's the quick-and-dirty version that I'm currently using. It was implemented before Feign.Builder was introduced (and thus, any interceptors needed to be part of a Dagger module to be used), and was implemented in the context of a Grails project (thus making the assumption of Groovy being present a safe one).
https://gist.github.com/davidmc24/6666237
I expect the submitted version will be very similar, but with the base64 encoding and charset logic getting pulled into Util rather then adding new dependencies.
from feign.
ps mildly prefer sun.misc.BASE64Encoder as all jdks I've run into retain
support
On Sun, Sep 22, 2013 at 8:42 PM, David M. Carr [email protected]:
Cool, I'll put together a pull request in the next couple days.
Until then, here's the quick-and-dirty version that I'm currently using.
It was implemented before Feign.Builder was introduced (and thus, any
interceptors needed to be part of a Dagger module to be used), and was
implemented in the context of a Grails project (thus making the assumption
of Groovy being present a safe one).https://gist.github.com/davidmc24/6666237
I expect the submitted version will be very similar, but with the base64
encoding and charset logic getting pulled into Util rather then adding new
dependencies.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/79#issuecomment-24897644
.
from feign.
Re: sun.misc.BASE64Encoder
Okay, I can do that. If such a JDK ever appears, we can fix it then.
from feign.
Related Issues (20)
- Error in Expressions.PathStyleExpression#getValue
- @GetMapping Required String parameter is not present HOT 3
- JacksonJrDecoder is not able to deserialize generics
- feign.jackson.jr.JacksonJrDecoder#findTransformer is not extendable
- [Feature Request] Support custom tags for Dropwizard metrics
- Unexpected FeignException instead of ResponseEntity when the server returns 401 HOT 1
- Response.protocolVersoin may be null causing NPEs
- feign-micrometer: spanId/parentId information lost HOT 2
- Breaking change with Alpha version of OkHttp3 Library HOT 2
- Headers annotation not sending headers HOT 2
- Feign changes capitalization of header-keys HOT 1
- feign-micrometer: No client tag on MicrometerObservation meters
- Add documentation/exception for required java compiler flag "parameters"
- Even using OptionalDecoder I get an exception on 404 HOT 1
- Builder breaks resilience4j 1.7.x (latest java <17 compatible release) HOT 3
- Call Timeout(OKHTTP) not working for my Open Feign Config. HOT 17
- @PatchMapping and @DeleteMapping insert unwanted slash when using url and specific value HOT 3
- The current code can only get the thread pool of its own httpclient. How to get the thread pool used in feign.httpclient.ApacheHttpClient instead? HOT 1
- Final fields of payload object are not recognized when executing POST form-urlencoded HOT 1
- How to use AsyncCient for non blocking requests? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feign.