I am making a RestAssured "GET" API call and asserting the fileName present in "Content-Disposition" header. The fileName contains unicode characters(Different language character set - Eg: Chinese, Hindi).
Rest Assured returns it as URL encoded form of '?'(Content-Disposition=inline; filename="??????????"; filename*=utf-8''%3F%3F%3F%3F%3F%3F%3F%3F%3F%3F)
And browser returns it as: Content-Disposition: inline; filename="\?\?\?\?\?\?\?\?\?\?"; filename*=utf-8''%E0%B0%AE%E0%B0%BE%E0%B0%9F%E0%B1%8D%E0%B0%B2%E0%B0%BE%E0%B0%A1%E0%B0%82%E0%B0%A1%E0%B0%BF
I would like to get it in the way that Browser returns.
How to do this in RestAssured?