| 395 | } |
| 396 | |
| 397 | static int get_protocol_http_header(enum protocol_version version, |
| 398 | struct strbuf *header) |
| 399 | { |
| 400 | if (version > 0) { |
| 401 | strbuf_addf(header, GIT_PROTOCOL_HEADER ": version=%d", |
| 402 | version); |
| 403 | |
| 404 | return 1; |
| 405 | } |
| 406 | |
| 407 | return 0; |
| 408 | } |
| 409 | |
| 410 | static void check_smart_http(struct discovery *d, const char *service, |
| 411 | struct strbuf *type) |
no test coverage detected