Skip to main content

client_git_protocol_header_value

Function client_git_protocol_header_value 

Source
pub fn client_git_protocol_header_value(version: u8) -> Option<String>
Expand description

Value for the HTTP Git-Protocol request header for a client protocol version.

Version 0 means no header (classic v0 advertisement); 1 and 2 send version=1 / version=2 respectively.