| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| badssl.c | ||
| clone.c | ||
| fetch.c | ||
| fetchhead.c | ||
| push.c | ||
| push_util.c | ||
| push_util.h | ||
| remotes.c |
In commit b9c5b15a (http: use the new httpclient, 2019-12-22), the HTTP code got refactored to extract a generic HTTP client that operates independently of the Git protocol. Part of refactoring was the creation of a new `git_http_request` struct that encapsulates the generation of requests. Our Git-specific HTTP transport was converted to use that in `generate_request`, but during the process we forgot to set up custom headers for the `git_http_request` and as a result we do not send out these headers anymore. Fix the issue by correctly setting up the request's custom headers and add a test to verify we correctly send them.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| badssl.c | Loading commit data... | |
| clone.c | Loading commit data... | |
| fetch.c | Loading commit data... | |
| fetchhead.c | Loading commit data... | |
| push.c | Loading commit data... | |
| push_util.c | Loading commit data... | |
| push_util.h | Loading commit data... | |
| remotes.c | Loading commit data... |