Skip to content

Conversation

zhenchaoli
Copy link

@zhenchaoli zhenchaoli commented Aug 20, 2025

(this is the 6.2 back port of #83441)

Add brotli as a dependency to enable brotli decoding for curl.

brotli is a general purpose compression algorithm used extensively on web. (https://datatracker.ietf.org/doc/html/rfc7932)

brotli support for curl is enabled by integrating the brotli compression library (https://github.com/google/brotli). I've also added some tests for FoundationNetworking in swiftlang/swift-corelibs-foundation#5251 which exercises this feature by

  • looking at the accept-encoding http header
  • decoding a brotli encoded payload

@zhenchaoli zhenchaoli force-pushed the zcli/brotli_6.2 branch 5 times, most recently from 7b175ec to 9238694 Compare August 21, 2025 17:40
@zhenchaoli
Copy link
Author

@swift-ci Please clean test

1 similar comment
@zhenchaoli
Copy link
Author

@swift-ci Please clean test

@zhenchaoli
Copy link
Author

@swift-ci Please clean test

1 similar comment
@zhenchaoli
Copy link
Author

@swift-ci Please clean test

@zhenchaoli
Copy link
Author

swiftlang/swift-corelibs-foundation#5251

@swift-ci Please clean test

@zhenchaoli
Copy link
Author

swiftlang/swift-corelibs-foundation#5272

@swift-ci Please clean test

2 similar comments
@zhenchaoli
Copy link
Author

swiftlang/swift-corelibs-foundation#5272

@swift-ci Please clean test

@zhenchaoli
Copy link
Author

swiftlang/swift-corelibs-foundation#5272

@swift-ci Please clean test

@zhenchaoli zhenchaoli marked this pull request as ready for review September 30, 2025 18:05
@zhenchaoli zhenchaoli requested a review from a team as a code owner September 30, 2025 18:05
@zhenchaoli zhenchaoli changed the title Zcli/brotli 6.2 Add brotli support to FoundationNetworking (release 6.2) Sep 30, 2025
@zhenchaoli zhenchaoli marked this pull request as draft October 3, 2025 20:07
@zhenchaoli
Copy link
Author

swiftlang/swift-corelibs-foundation#5272

@swift-ci Please clean test

1 similar comment
@zhenchaoli
Copy link
Author

swiftlang/swift-corelibs-foundation#5272

@swift-ci Please clean test

@zhenchaoli
Copy link
Author

swiftlang/swift-corelibs-foundation#5272

@swift-ci Please clean test

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.

1 participant