Commit a735575
Add brotli support to FoundationNetworking (swiftlang#83441)
<!--
If this pull request is targeting a release branch, please fill out the
following form:
https://github.com/swiftlang/.github/blob/main/PULL_REQUEST_TEMPLATE/release.md?plain=1
Otherwise, replace this comment with a description of your changes and
rationale. Provide links to external references/discussions if
appropriate.
If this pull request resolves any GitHub issues, link them like so:
Resolves <link to issue>, resolves <link to another issue>.
For more information about linking a pull request to an issue, see:
https://docs.github.com/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue
-->
<!--
Before merging this pull request, you must run the Swift continuous
integration tests.
For information about triggering CI builds via @swift-ci, see:
https://github.com/apple/swift/blob/main/docs/ContinuousIntegration.md#swift-ci
Thank you for your contribution to Swift!
-->
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 payload1 parent d8ece86 commit a735575
File tree
3 files changed
+29
-1
lines changed- utils
- swift_build_support/swift_build_support/products
- update_checkout
3 files changed
+29
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
861 | 861 | | |
862 | 862 | | |
863 | 863 | | |
| 864 | + | |
864 | 865 | | |
865 | 866 | | |
866 | 867 | | |
| |||
2474 | 2475 | | |
2475 | 2476 | | |
2476 | 2477 | | |
| 2478 | + | |
| 2479 | + | |
| 2480 | + | |
| 2481 | + | |
| 2482 | + | |
| 2483 | + | |
| 2484 | + | |
| 2485 | + | |
| 2486 | + | |
| 2487 | + | |
| 2488 | + | |
| 2489 | + | |
| 2490 | + | |
| 2491 | + | |
| 2492 | + | |
2477 | 2493 | | |
2478 | 2494 | | |
2479 | 2495 | | |
| |||
2562 | 2578 | | |
2563 | 2579 | | |
2564 | 2580 | | |
2565 | | - | |
| 2581 | + | |
2566 | 2582 | | |
2567 | 2583 | | |
2568 | 2584 | | |
| |||
2640 | 2656 | | |
2641 | 2657 | | |
2642 | 2658 | | |
| 2659 | + | |
2643 | 2660 | | |
2644 | 2661 | | |
2645 | 2662 | | |
| |||
3039 | 3056 | | |
3040 | 3057 | | |
3041 | 3058 | | |
| 3059 | + | |
3042 | 3060 | | |
3043 | 3061 | | |
3044 | 3062 | | |
| |||
3063 | 3081 | | |
3064 | 3082 | | |
3065 | 3083 | | |
| 3084 | + | |
3066 | 3085 | | |
3067 | 3086 | | |
3068 | 3087 | | |
| |||
4113 | 4132 | | |
4114 | 4133 | | |
4115 | 4134 | | |
| 4135 | + | |
4116 | 4136 | | |
4117 | 4137 | | |
4118 | 4138 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
| |||
180 | 183 | | |
181 | 184 | | |
182 | 185 | | |
| 186 | + | |
183 | 187 | | |
184 | 188 | | |
185 | 189 | | |
| |||
291 | 295 | | |
292 | 296 | | |
293 | 297 | | |
| 298 | + | |
294 | 299 | | |
295 | 300 | | |
296 | 301 | | |
| |||
608 | 613 | | |
609 | 614 | | |
610 | 615 | | |
| 616 | + | |
611 | 617 | | |
612 | 618 | | |
613 | 619 | | |
| |||
666 | 672 | | |
667 | 673 | | |
668 | 674 | | |
| 675 | + | |
669 | 676 | | |
670 | 677 | | |
671 | 678 | | |
| |||
0 commit comments