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