Misleading results from REST docs webpage for 304 not-modified responses

Steps to reproduce

Login to Admin UI as admin, go to the REST docs page for /recordings/calendars e.g.

/docs.html?path=/recordings#getcalendar-6

Complete sample form filling in agentid and click Submit

Results are shown.

Click Submit again. UI shows "200 (OK)" response which is incorrect because there is actually a 304 not-modified response. Old results are shown.

For this particular endpoint it would better not to send etag or any other info so the result is always a new calendar, but in general also important not to show misleading results.

Status

Assignee

Unassigned

Reporter

Stephen Marquard

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

None

Affects versions

4.1

Priority

Major
Configure