-
-
Notifications
You must be signed in to change notification settings - Fork 470
add support for multiple CSP directives #3720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for zio-http ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
ba96aa3 to
1b07100
Compare
|
|
||
| final case class Host(uri: URI) extends Source | ||
| object Source { | ||
| case object none extends Source { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if while we're at it, this should be changed to None to be consistent with all the others?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't change this. That would be a breaking change
e8306a2 to
33e9fbb
Compare
undo some formatting changes use List instead of Seq remove unused import
33e9fbb to
33b6377
Compare
|
|
||
| // scalafmt: { maxColumn = 180 } | ||
| sealed trait ContentSecurityPolicy extends Header { | ||
| final case class ContentSecurityPolicy(directives: List[ContentSecurityPolicy.Directive]) extends Header { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is not binary compatible. We can't do that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure how to implement this change without breaking binary compatibility...
resolves #3719