Add support for customizing HTTP headers (#1196)
This PR adds support for custom HTTP headers, introducing a `--http-header` CLI flag to accept `key=value` pairs. These headers can also be specified within the `setting.pkl` file. Closes #633 SPICE: https://github.com/apple/pkl-evolution/pull/24 --------- Co-authored-by: Jen Basch <jbasch94@gmail.com> Co-authored-by: Islon Scherer <islonscherer@gmail.com>
This commit is contained in:
14 files changed
+358
-18
No files matched your search
@@ -1124,3 +1124,9 @@ Option {1}s must not overlap with built-in options.
|
||||
commandFlagInvalidType=\
|
||||
Option `{0}` with annotation `@{1}` has invalid type `{2}`.\n\
|
||||
Expected type: `{3}`
|
||||
|
||||
invalidHeaderName=\
|
||||
HTTP header name `{0}` has invalid syntax.
|
||||
|
||||
invalidHeaderValue=\
|
||||
HTTP header value `{0}` has invalid syntax.
|
||||
Reference in new issue
Block a user