git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Document the HTTP transport protocols

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 21, 2013, 18:45 UTC
Message-ID
<xmqqsiy2uble.fsf@gitster.dls.corp.google.com>
In-Reply-To
<1377092713-25434-1-git-send-email-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
>  This is basically the version from Tay Ray Chuan [1] with one more
>  proofreading round from me. My changes besides realignments are below.
>  There are TODOs remain but I think the document is valuable as it is.
Thanks.
Show 11 quoted lines
>  On the topic, C Git's (maybe) violations on this spec are:
>  
>   - The client does not strip trailing slashes from $GIT_URL before
>     sending to the server, as described in section "URL Format".
>  
>   - The client does not check that HTTP status code is either 200 or
>     304 when receiving response in discovering references phase.
>
>   - The client verifies the first 5 bytes against pattern
>     "^[0-9a-fA-F]{4}#" instead of "^[0-9a-f]{4}#" as described in
>     section "discovering references".

Perhaps add these to "small projects ideas"? The last one may want to be phrased a bit better, though. I needed to read it twice to realize that you are saying "the client accepts hexadecimal using uppercase alphabets where it should not".

Previous: Nguyễn Thái Ngọc DuyNext: Jeff King
Message 2 of 4 in “Document the HTTP transport protocols”
  1. Document the HTTP transport protocolsNguyễn Thái Ngọc Duy, Aug 21, 2013
  2. Junio C HamanoAug 21, 2013
  3. Jeff KingAug 21, 2013
  4. Duy NguyenAug 22, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.