Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
74b8cef8
Commit
74b8cef8
authored
Aug 19, 2013
by
Byron Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 905948: under mod_perl, HTTP/200 is returned when etags match If-None-Match
r=dkl, a=glob
parent
8d4c3e53
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
mod_perl.pl
mod_perl.pl
+4
-3
No files found.
mod_perl.pl
View file @
74b8cef8
...
@@ -135,9 +135,10 @@ sub handler : method {
...
@@ -135,9 +135,10 @@ sub handler : method {
Bugzilla::
init_page
();
Bugzilla::
init_page
();
my
$result
=
$class
->
SUPER::
handler
(
@_
);
my
$result
=
$class
->
SUPER::
handler
(
@_
);
# When returning data from the REST api, tell Apache not to append its
# When returning data from the REST api we must only return 200 or 304,
# error html documents to the response.
# which tells Apache not to append its error html documents to the
return
Bugzilla
->
usage_mode
==
USAGE_MODE_REST
# response.
return
Bugzilla
->
usage_mode
==
USAGE_MODE_REST
&&
$result
!=
304
?
Apache2::Const::
OK
?
Apache2::Const::
OK
:
$result
;
:
$result
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment