aboutsummaryrefslogtreecommitdiff
path: root/gitweb/gitweb.perl
diff options
context:
space:
mode:
Diffstat (limited to 'gitweb/gitweb.perl')
-rwxr-xr-xgitweb/gitweb.perl6
1 files changed, 4 insertions, 2 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index a8b5fad26..041da17a3 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -7841,11 +7841,13 @@ sub git_feed {
print $cgi->header(
-type => $content_type,
-charset => 'utf-8',
- -last_modified => $latest_date{'rfc2822'});
+ -last_modified => $latest_date{'rfc2822'},
+ -status => '200 OK');
} else {
print $cgi->header(
-type => $content_type,
- -charset => 'utf-8');
+ -charset => 'utf-8',
+ -status => '200 OK');
}
# Optimization: skip generating the body if client asks only