Re: More on git over HTTP POST

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Saturday, August 2, 2008 - 8:27 pm

"Shawn O. Pearce" <spearce@spearce.org> writes:


As the initial protocol exchange request, I suspect that you would regret
if you do not leave room for some "capability advertisement" in this
exchange.

With the git native protocol, we luckily found space to do so after the
ref payload (because pkt-line is "length + payload" format but the code
that reads payload happened to ignore anything after NUL).  You would want
to define how these are given by the server to the client over HTTP
channel.  For example, putting them on extra HTTP headers is probably Ok.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
More on git over HTTP POST, H. Peter Anvin, (Fri Aug 1, 2:50 pm)
Re: More on git over HTTP POST, Shawn O. Pearce, (Sat Aug 2, 1:57 pm)
Re: More on git over HTTP POST, Daniel Stenberg, (Sat Aug 2, 2:00 pm)
Re: More on git over HTTP POST, Shawn O. Pearce, (Sat Aug 2, 2:08 pm)
Re: More on git over HTTP POST, Petr Baudis, (Sat Aug 2, 2:23 pm)
Re: More on git over HTTP POST, Shawn O. Pearce, (Sat Aug 2, 2:32 pm)
Re: More on git over HTTP POST, Shawn O. Pearce, (Sat Aug 2, 7:56 pm)
Re: More on git over HTTP POST, Junio C Hamano, (Sat Aug 2, 8:27 pm)
Re: More on git over HTTP POST, Shawn O. Pearce, (Sat Aug 2, 8:31 pm)
Re: More on git over HTTP POST, H. Peter Anvin, (Sat Aug 2, 8:47 pm)
Re: More on git over HTTP POST, H. Peter Anvin, (Sat Aug 2, 8:51 pm)
Re: More on git over HTTP POST, H. Peter Anvin, (Sat Aug 2, 9:01 pm)
Re: More on git over HTTP POST, Shawn O. Pearce, (Sat Aug 2, 9:10 pm)
Re: More on git over HTTP POST, Shawn O. Pearce, (Sat Aug 2, 9:12 pm)
Re: More on git over HTTP POST, Mike Hommey, (Sat Aug 2, 11:43 pm)
Re: More on git over HTTP POST, david, (Sun Aug 3, 1:10 am)
Re: More on git over HTTP POST, H. Peter Anvin, (Sun Aug 3, 4:29 am)
Re: More on git over HTTP POST, H. Peter Anvin, (Sun Aug 3, 4:31 am)
Re: More on git over HTTP POST, H. Peter Anvin, (Sun Aug 3, 4:42 am)
Re: [RFC 2/2] Add Git-aware CGI for Git-aware smart HTTP t ..., Johannes Schindelin, (Mon Aug 4, 3:08 am)
Re: [RFC 2/2] Add Git-aware CGI for Git-aware smart HTTP t ..., Johannes Schindelin, (Mon Aug 4, 3:26 am)
Add Git-aware CGI for Git-aware smart HTTP transport, H. Peter Anvin, (Tue Aug 12, 6:56 pm)
Re: Add Git-aware CGI for Git-aware smart HTTP transport, Shawn O. Pearce, (Tue Aug 12, 7:37 pm)