tracker issue : CF-4198379

select a category, or use search below
(searches all categories and all time range)
Title:

Non-existent REST url with ".json" extension does not return JSON content

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): e-domizil License Team / e-domizil License Team ()

Created: 03/01/2017

Components: REST Services

Versions: 2016

Failure Type: Incorrectly functioning

Found In Build/Fixed In Build: Updater 3 / 302164

Priority/Frequency: Normal / All users will encounter

Locale/System: / Win 2008 Server R2

Vote Count: 0

Listed in the version 2016.0.04.302561 Issues Fixed doc
Problem Description: If you access a missing REST service url e.g. "/bugs/0000000_rest_form/doesnotexists" you get a 404 error and the file not found content is XML formated. Now change the URL to "/bugs/0000000_rest_form/doesnotexists.json" and the content is still XML and not JSON as expected.

Steps to Reproduce: Call a REST service with non-existent URL

Actual Result: XML not found content is returned.

Expected Result: JSON formated content is returned

Any Workarounds: None.

Attachments:

Comments: