Skip to contentSkip to conversation

doc: clarify server behavior for invalid 'want' lines in HTTP protocol

PATCH In review Queen Ediri Jessa 2 participants 2 messages Nov 5, 2025 – Nov 6, 2025 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 doc: clarify server behavior for invalid 'want' lines in HTTP protocol

Update the documentation to clearly describe how the server responds when a client sends an invalid or malformed want line during the HTTP protocol exchange. The server includes the offending object name in its error message.

---
Changes since v3:
- Removed extra explanatory lines per reviewer feedback.

 Documentation/gitprotocol-http.adoc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/gitprotocol-http.adoc +2 -1
index d024010414..e2ef7f0459 100644
@@ -443,7 +443,8 @@ If no "want" objects are received, send an error:
 TODO: Define error if no "want" lines are requested.
 
 If any "want" object is not reachable, send an error:
-TODO: Define error if an invalid "want" is requested.
+When a Git server receives an invalid or malformed `want` line, it
+responds with an error message that includes the offending object name.
 
 Create an empty list, `s_common`.
 
Signature · 1 line
2.51.0.573.gb660e2dcb9
#1 lore raw
Quoted 11 lines · Queen Ediri Jessa

Update the documentation to clearly describe how the server responds when a client sends an invalid or malformed want line during the HTTP protocol exchange. The server includes the offending object name in its error message.

---
Changes since v3:
- Removed extra explanatory lines per reviewer feedback.

 Documentation/gitprotocol-http.adoc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Thanks, will queue.