diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-08-09 19:10:51 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-08-09 19:10:51 +0200 |
commit | 37ce30c4eabef0d10e3bfdff0ee9669f6fe5c7df (patch) | |
tree | 2fb75ca52ed0ba0285db69ccee064ebfbeb3be40 /Bugzilla/CGI.pm | |
parent | c1a59a49a014f332793bbc9b3bea8717718428e5 (diff) | |
download | bugzilla-37ce30c4eabef0d10e3bfdff0ee9669f6fe5c7df.tar.gz bugzilla-37ce30c4eabef0d10e3bfdff0ee9669f6fe5c7df.tar.xz |
Bug 569177 - Add support for eTag for WebServices
r/a=glob
Diffstat (limited to 'Bugzilla/CGI.pm')
-rw-r--r-- | Bugzilla/CGI.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index dacd900a0..991bfc05d 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -236,11 +236,11 @@ sub check_etag { $possible_etag =~ s/^\"//g; $possible_etag =~ s/\"$//g; if ($possible_etag eq $valid_etag or $possible_etag eq '*') { - print $self->header(-ETag => $possible_etag, - -status => '304 Not Modified'); - exit; + return 1; } } + + return 0; } # Have to add the cookies in. |