From 12eb7b79859d1ee0be9f237d2b097fc4bf42d2c3 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Tue, 13 Jul 2010 15:43:40 -0700 Subject: Bug 412074: Ability to add attachments to a bug via the WebService (Bug.add_attachment) r=timello, a=mkanat --- Bugzilla/WebService.pm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Bugzilla/WebService.pm') diff --git a/Bugzilla/WebService.pm b/Bugzilla/WebService.pm index fe7766ad1..9e83a5a64 100644 --- a/Bugzilla/WebService.pm +++ b/Bugzilla/WebService.pm @@ -25,6 +25,8 @@ use XMLRPC::Lite; # Used by the JSON-RPC server to convert incoming date fields apprpriately. use constant DATE_FIELDS => {}; +# Used by the JSON-RPC server to convert incoming base64 fields appropriately. +use constant BASE64_FIELDS => {}; # For some methods, we shouldn't call Bugzilla->login before we call them use constant LOGIN_EXEMPT => { }; @@ -106,6 +108,11 @@ May be null. True or false. +=item C + +A base64-encoded string. This is the only way to transfer +binary data via the WebService. + =item C An array. There may be mixed types in an array. -- cgit v1.2.3-24-g4f1b