Comments (4)
Awesome, thanks! I guess we can deprecate the apply
method and replace it with a fromString
that either turns Either
or Option
. I think we use a similar API style in other places.
from http4s.
Great! I'll fix it then.
from http4s.
Thanks. I guess the problem is here, this method is definitely not total if it's expecting a Base64 string.
http4s/core/shared/src/main/scala/org/http4s/Credentials.scala
Lines 105 to 106 in 0c38b06
from http4s.
Yes, indeed. I would like to fix it. Do you have any idea of how to do this properly?
I believe we can't change the return type of the existing apply
method as it leads to binary incompatibility.
from http4s.
Related Issues (20)
- Propagate trace_id on logback produces empty value HOT 2
- Docs: Error handling example does not compile HOT 1
- Native memory overuse by DirectBuffers when using the ember server HOT 13
- Add optional autoPing for web sockets
- Default values for timeout & idleConnectionTime in EmberClient lead to warn logs HOT 2
- Locally building the site fails HOT 3
- Broken Pipe error logs in Ember Server when using `withTLS` HOT 11
- ember h2 client hangs after long running connection dies HOT 2
- Ember client hangs when parsing response body from HEAD request HOT 4
- Running `lint` results in errors HOT 1
- Extend capabilities of http4s DSL to cover complex use cases of uri template
- RFC: Automate opening a PR with merge 0.23 -> main HOT 1
- Ember server returns 500 on too many headers, doesn't say why HOT 3
- Feedback on Multipart HOT 1
- Sample code in Authentication middleware does not compile in versions after Scala 3.3.3 HOT 4
- Add support for comma separated headers HOT 1
- Client: A header from Play Framework unsetting a cookie isn't properly parsed into Response.cookies
- Random BodyAlreadyConsumedError when request a remote uri when consume body entity twice HOT 6
- Cookie duplication using request.addCookie HOT 1
- Metrics middleware: compliance with OpenTelemetry spec HOT 2
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 http4s.