Commit 888fd4e
feat(settings): add HTTP version as an inherited request setting
Adds an http_version setting (auto, HTTP/1.1, HTTP/2) to the existing
workspace/folder/request settings-override system, for servers that fail
when the negotiated version isn't the one they expect.
Forcing a version also constrains TLS ALPN on both the rustls and
native-tls paths, since hyper refuses to speak a protocol ALPN didn't
negotiate. The connection cache key now includes the options that affect
how the client is built (validate_certificates, http_version) so a
settings change takes effect on the next send instead of after the 10
minute client cache TTL.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 6777003 commit 888fd4e
16 files changed
Lines changed: 860 additions & 139 deletions
File tree
- crates-server/yaak-web
- bindings
- src
- crates
- common/yaak-rpc-schema/bindings
- yaak-git/bindings
- yaak-http/src
- yaak-models
- bindings
- migrations
- src
- queries
- yaak-plugins/bindings
- yaak-sync/bindings
- yaak/src
- packages/plugin-runtime-types/src/bindings
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
| |||
0 commit comments