Skip to content

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

Merged
pjfanning merged 1 commit intoapache:mainfrom
pjfanning:header-api-change
Jun 11, 2023
Merged

make Content-Type and Content-Length constructors accessible in pekko packages#178
pjfanning merged 1 commit intoapache:mainfrom
pjfanning:header-api-change

Conversation

@pjfanning
Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
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