diff CHANGES.txt @ 5617:38b7c4693d9a

Original code supported setting accept type to json (or other supported type) by including an extension in the url. So .../issue.json would return json and .../issue.xml would return xml response (if xml response were supported). This code strips the extension from the uri one it has been processed.
author John Rouillard <rouilj@ieee.org>
date Sat, 16 Feb 2019 15:29:18 -0500
parents aa4c271514ae
children 1ad3881fc683
line wrap: on
line diff
--- a/CHANGES.txt	Sat Feb 16 15:24:53 2019 -0500
+++ b/CHANGES.txt	Sat Feb 16 15:29:18 2019 -0500
@@ -46,6 +46,9 @@
 - Patches to new rest code:
    - Generated links in responses should use the base url specified
      in config.ini.
+   - allow user (e.g. in browser) to override response type/Accept
+     header using extension in url. E.G. .../issues.json. This fixes
+     the existing code so it works.
   (John Rouillard)
 - issue2550833: the export_csv web action now returns labels/names
   rather than id's. Replace calls to export_csv with the export_csv_id

Roundup Issue Tracker: http://roundup-tracker.org/