(http) I'm sorry DAV, I can't let you do that...

This commit is contained in:
Sitaram Chamarty 2010-09-05 19:58:31 +05:30
parent 370135d230
commit b6c93c7ce8

View file

@ -85,6 +85,8 @@ if (@ARGV and $ARGV[0] eq '-s') {
my $user; my $user;
if ($ENV{REQUEST_URI}) { if ($ENV{REQUEST_URI}) {
die "fallback to DAV not supported\n" if $ENV{REQUEST_METHOD} eq 'PROPFIND';
# these patterns indicate normal git usage; see "services[]" in # these patterns indicate normal git usage; see "services[]" in
# http-backend.c for how I got that. Also note that "info" is overloaded; # http-backend.c for how I got that. Also note that "info" is overloaded;
# git uses "info/refs...", while gitolite uses "info" or "info?...". So # git uses "info/refs...", while gitolite uses "info" or "info?...". So