# HG changeset patch # User Sebastien Jodogne # Date 1359552876 -3600 # Node ID 4d76fce206efd078d45cda349b30e99a9abd8000 # Parent 61e4c62b8c35f512713182bde2179bb226388698 fixes diff -r 61e4c62b8c35 -r 4d76fce206ef OrthancExplorer/explorer.js --- a/OrthancExplorer/explorer.js Mon Jan 28 16:58:07 2013 +0100 +++ b/OrthancExplorer/explorer.js Wed Jan 30 14:34:36 2013 +0100 @@ -832,7 +832,7 @@ $.ajax({ url: path + '/anonymize', type: 'POST', - data: '{}', + data: '{ "Keep" : [ "SeriesDescription", "StudyDescription" ] }', dataType: 'json', async: false, cache: false, diff -r 61e4c62b8c35 -r 4d76fce206ef Resources/Samples/Python/RestToolbox.py --- a/Resources/Samples/Python/RestToolbox.py Mon Jan 28 16:58:07 2013 +0100 +++ b/Resources/Samples/Python/RestToolbox.py Wed Jan 30 14:34:36 2013 +0100 @@ -38,6 +38,8 @@ body = data if len(contentType) != 0: headers = { 'content-type' : contentType } + else: + headers = { 'content-type' : 'text/plain' } else: body = json.dumps(data) headers = { 'content-type' : 'application/json' }