diff options
| author | brian m. carlson <sandals@crustytoothpaste.net> | 2024-04-17 00:02:26 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-04-16 22:39:06 -0700 |
| commit | 90765ea81eab98cd8f26c406588f5a6ea6f4fe82 (patch) | |
| tree | f3f96a80091bb129a7a7d06c58c633c1ad3d5df3 /notes-cache.c | |
| parent | 7046f1d57240b6eb39af22c024d6fec4a6cfcb5d (diff) | |
remote-curl: reset headers on new request
When we retry a post_rpc request, we currently reuse the same headers as
before. In the future, we'd like to be able to modify them based on the
result we get back, so let's reset them on each retry so we can avoid
sending potentially duplicate headers if the values change.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes-cache.c')
0 files changed, 0 insertions, 0 deletions
