Skip to content

Commit

Permalink
Merge pull request #4081 from Ginger-Automation/AllowAnyContentTypeFo…
Browse files Browse the repository at this point in the history
…r-Accept-Header-RestAPI

Allow any content type for accept header rest api
  • Loading branch information
rathimayur authored Feb 3, 2025
2 parents d8be0e1 + b61fcb0 commit c8b3ad8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ private static string GetResponseContentTypeText(ApplicationAPIUtils.eResponseCo
return "multipart/form-data"; //update to correct value

case ApplicationAPIUtils.eResponseContentType.TextPlain:
return "text/plain; charset=utf-8";
return "text/plain;";

case ApplicationAPIUtils.eResponseContentType.XML:
return "application/xml";
Expand Down

0 comments on commit c8b3ad8

Please sign in to comment.