-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: build error when using specific or no Cargo compression features (…
…#339) also, if only one compression feature is enabled (e.g. compression-gzip) then the preferred encoding gets re-evaluated and assigned to that compression feature format but only if it was part of the `accept-encoding` request header value. now the following scenarios will work: [dependencies] static-web-server = { version = "2.28.0", default-features = false } or [dependencies] static-web-server = { version = "2.28.0", default-features = false, features = ["compression-brotli"] } in addition, some tracing logs are added to reflect the changes.
- Loading branch information
Showing
12 changed files
with
432 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.