Skip to content

Conversation

@Leptopoda
Copy link
Member

@Leptopoda Leptopoda commented Jan 12, 2024

Signed-off-by: Nikolas Rimikis [email protected]

towards: #788
fixes: #1307

Sorry for the big PR but it couldn't be done in smaller ones.
The fixtures now only include the headers explicitly added and not the ones added by the cleint itself.

I haven't checked every edge case but regarding the NC code (without the reexported dynamite_runtime) the only breaking change should be that the httpClient parameter now takes a Client instead of an HttpClient.

Copy link
Member

@provokateurin provokateurin left a comment

Choose a reason for hiding this comment

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

Looks really good!

@Leptopoda
Copy link
Member Author

making this a draft as there is no timeline yet for the next http package release

@Leptopoda Leptopoda marked this pull request as draft January 16, 2024 15:06
@Leptopoda Leptopoda force-pushed the refactor/dynamite/allow_http_clients branch from f41398f to 2cb926e Compare January 18, 2024 06:20
@Leptopoda Leptopoda marked this pull request as ready for review January 18, 2024 06:21
Copy link
Member

@provokateurin provokateurin left a comment

Choose a reason for hiding this comment

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

The dependency check for the http package is missing in dynamite

The useragent should be passed with the baseHeaders instead

Signed-off-by: Nikolas Rimikis <[email protected]>
@Leptopoda Leptopoda force-pushed the refactor/dynamite/allow_http_clients branch from 2cb926e to 9d7d86a Compare January 18, 2024 08:06
@Leptopoda Leptopoda merged commit 2b0628e into main Jan 18, 2024
@Leptopoda Leptopoda deleted the refactor/dynamite/allow_http_clients branch January 18, 2024 11:49
@Leptopoda Leptopoda removed this from the Nextcloud package release milestone May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Switch mockito usage to mocktail

3 participants