mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
1066929001
Summary: A future diff does LFS fetches via http_client. Curl has some default behavior of adding the "Expect: 100-continue" header which causes the server to send a 100 status code response after the headers have been received but before the the payload has been received. Since the http_client model only expects a single response, this breaks the model and we're unable to read the second response. Let's disable this behavior by manually setting the header to empty string, which appears to be the official way to handle this. Add it early so callers can overwrite it. Reviewed By: quark-zju Differential Revision: D22935349 fbshipit-source-id: 3009a5eb72f40584b846510f34f121e0e821a2bc |
||
---|---|---|
.. | ||
fs | ||
integration | ||
locale | ||
mononoke | ||
scm | ||
scripts | ||
test_support | ||
test-data | ||
win | ||
.clang-format | ||
.gitignore | ||
Eden.project.toml |