2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/ac4e18e81ed5/ Changeset: ac4e18e81ed5 Branch: stable User: dan Date: 2014-03-13 22:07:23 Summary: Update GenomeSpace exporter directory listing to send the now working/required accept string. Affected #: 1 file diff -r 9ed9316ae6fba4fb83050757d9db259569d14de9 -r ac4e18e81ed5d9256cb1f07692da7928dcd7969f tools/genomespace/genomespace_exporter.py --- a/tools/genomespace/genomespace_exporter.py +++ b/tools/genomespace/genomespace_exporter.py @@ -121,7 +121,7 @@ if value: value = value[0]#single select, only 1 value def recurse_directory_dict( url_opener, cur_options, url ): - cur_directory = urllib2.Request( url )#, headers = { 'Content-Type': 'application/json', 'Accept': 'application/text' } ) #apparently http://www.genomespace.org/team/specs/updated-dm-rest-api:"Every HTTP request to the Data Manager should include the Accept header with a preference for the media types application/json and application/text." is not correct + cur_directory = urllib2.Request( url, headers = { 'Content-Type': 'application/json', 'Accept': 'application/json, text/plain' } ) cur_directory.get_method = lambda: 'GET' #get url to upload to try: https://bitbucket.org/galaxy/galaxy-central/commits/9319b29c6024/ Changeset: 9319b29c6024 User: dan Date: 2014-03-13 22:08:18 Summary: merge stable Affected #: 0 files Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.