Skip to content
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

make Content-Type and Content-Length constructors accessible in pekko packages #178

Merged
merged 1 commit into from
Jun 11, 2023

Conversation

pjfanning
Copy link
Contributor

Pekko-Connectors S3 uses these constructors.

See apache/pekko-connectors#167

Scala 3 is stricter about private and package private access.

… packages

Pekko-Connectors S3 uses these constructors
Copy link
Contributor

@mdedetrich mdedetrich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@pjfanning pjfanning merged commit 187de00 into apache:main Jun 11, 2023
@pjfanning pjfanning deleted the header-api-change branch June 11, 2023 11:08
@pjfanning pjfanning added the release notes should be mentioned in release notes label Jun 11, 2023
@pjfanning pjfanning added this to the 1.0.0 milestone Jun 11, 2023
@jrudolph
Copy link
Contributor

They are private because they must only be used internally. AFAICS there's no good reason to use the headers in the S3 connector in that way, in any case, it's not related to the module's use of pekko-http, and there the HTTP headers are just used for convenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes should be mentioned in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants