google / sxg-rs

A set of tools for generating signed exchanges at serve time.
Apache License 2.0
84 stars 20 forks source link

Add user-agent sniffing #403

Closed antiphoton closed 2 years ago

antiphoton commented 2 years ago

Use a straightforward substring search to parse the major version of Chrome browser.

Extern crate regex is not used here, because it will increase the gzipped WASM size by 218 kB.

Close #395.