serve: introduce the server-option capability
[gitweb.git] / Documentation / technical / protocol-v2.txt
index 136179d7d8bcaf72686bed4aa5e3cd9376ef77bd..d7b6f38e0a7830f91cec19d566ed6d7868464bb7 100644 (file)
@@ -393,3 +393,13 @@ header.
                1 - pack data
                2 - progress messages
                3 - fatal error message just before stream aborts
+
+ server-option
+~~~~~~~~~~~~~~~
+
+If advertised, indicates that any number of server specific options can be
+included in a request.  This is done by sending each option as a
+"server-option=<option>" capability line in the capability-list section of
+a request.
+
+The provided options must not contain a NUL or LF character.