use application/octet-stream for upload