Question
Hitachi
JP
Last activity: 24 Aug 2022 5:59 EDT
Sending a binary file that name is multi-byte string by multipart/form-data on CONNECT-REST.
I would like to send a binary file that name is multi-byte string by multipart/form-data on CONNECT-REST.
At first, I tried to send the file by using pyRequestAttachmentPage. I set the parameter "pyRequestAttachmentPage.pyAttachFileNames" for the name of the file with muti-byte string. Unfortunately, however, the file name received on the server (IIS) was "????".
According to the following specs, if I would have used "filename*" parameter in Content-Disposition HTTP header, Pega could send the file with UTF-8 file name.
Is it able to set the "filename*" parameter in the manner of Pega?
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition
***Edited by Moderator Marije to add Capability tags***