adlnet/xAPIWrapper

Attachments assume a contentType of application/octet-stream

Closed this issue · 0 comments

I noticed this while testing a PDF upload. Setting contentType: application/pdfon the attachment item it was still being set to application/octet-stream in the POST request. This caused the LRS (Learning Locker) to save the file as a .bin rather than .pdf.