mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
3295f0f1fe
Summary: Add a `set_global_config` function to `hg-http` that gets called prior to command execution. This function can be used to configure the global behavior of all HTTP requests by setting up a callback that modifies every `Request` prior to sending. Right now, the use case for this is to support the `--insecure` flag, as can be seen in the code. Reviewed By: quark-zju Differential Revision: D27243638 fbshipit-source-id: 61a52c1f4b56fffd860c2a7e9c7b03e146b2240a
14 lines
350 B
TOML
14 lines
350 B
TOML
# @generated by autocargo from //eden/scm/lib/hg-http:hg-http
|
|
[package]
|
|
name = "hg-http"
|
|
version = "0.1.0"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
async-runtime = { path = "../async-runtime" }
|
|
hg-metrics = { path = "../hg-metrics" }
|
|
http-client = { path = "../http-client" }
|
|
once_cell = "1.4"
|
|
progress-model = { path = "../progress/model" }
|
|
tracing = "0.1"
|