Bug 550732: Allow read-only JSON-RPC methods to be called with GET

r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260221 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org
2010-04-22 19:01:59 +00:00
parent afa0f14813
commit 594bcd76eb
13 changed files with 220 additions and 30 deletions

View File

@@ -48,6 +48,16 @@ use constant DATE_FIELDS => {
search => ['last_change_time', 'creation_time'],
};
use constant READ_ONLY => qw(
attachments
comments
fields
get
history
legal_values
search
);
######################################################
# Add aliases here for old method name compatibility #
######################################################