Fix render plain endpoint
Merge pull request #2302 from opf/fix/17439_fix_render_plain_response

17439 Fix render plain response