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

Re: disabling PROPFIND when using smart http

From
Sitaram Chamarty <sitaramc@gmail.com>
Date
Nov 23, 2010, 19:40 UTC
Message-ID
<AANLkTimvKg3mwfZUoRHoj=uW0FxGS=meF-ChLJKEtHcp@mail.gmail.com>
In-Reply-To
<AANLkTikoGS4X8YbNgLT=Akx5RBj2d4Uybdx5QnJ+CWNo@mail.gmail.com>
On Tue, Nov 23, 2010 at 11:01 PM, Scott Chacon <schacon@gmail.com> wrote:
Show 27 quoted lines
> Hey,
>
> On Tue, Nov 23, 2010 at 8:10 AM, Ilari Liusvaara
> <ilari.liusvaara@elisanet.fi> wrote:
>> Apparently pusher is falling back to dumb WebDAV push for some
>> reason. And then failing because server does not support it
>> or isn't configured apporiately for it.
>
> Yes, the client will fall back to 'dumb' HTTP stuff if the server does
> not respond properly to the initial /info/refs GET call.  I believe
> it's something like if the client asks for
>
> /info/refs?service=git-upload-pack
>
> and the server does not respond with the first line being:
>
> # service=git-upload-pack
>
> or the Content-Type header being:
>
> application/x-git-upload-pack-advertisement
>
> I believe either of those being absent will cause the client to think
> that it's not a smart server, so it falls back to the DAV based push.
> If you let us know what the curl output before that point was, or what
> your apache config looks like, we might be able to help figure out
> what's wrong with the server.

Well it was someone else, but the pastie he has sent was http://pastebin.com/eaB0G1gx -- which may or may not help, because it doesn't seem to show the response *body*, only the headers.

If that doesn't help I'll try and reproduce the problem myself first.
Thanks,
Sitaram
Previous: Scott ChaconNext: Scott Chacon
Message 4 of 5 in “disabling PROPFIND when using smart http”
  1. Sitaram ChamartyNov 23, 2010
  2. Ilari LiusvaaraNov 23, 2010
  3. Scott ChaconNov 23, 2010
  4. Sitaram ChamartyNov 23, 2010
  5. Scott ChaconNov 23, 2010

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.