I am getting a pdf file from AWS server with content-type:binary/octet stream. I need to convert it into application/pdf in order to send. I tried below approache