Questions tagged [octet-stream]
29 questions
2
votes
1 answer
AXIOS - download file instantly using browser's download manager
I want to download large file. Current solution works fine but user can't see progress in browser's download manager window and I have to handle progress by myself (only by displaying infinite progress indicator). Is it possible somehow to stream…

Adam Ostrožlík
- 1,256
- 1
- 10
- 16
2
votes
1 answer
Upload file as octet-stream using RestSharp 1.7
I'm trying to upload a file as octet-stream with RestSharp 1.7 but can't get it to work.
I've tried the following approaches:
Using restRequest.AddFile("file", documentContent, MediaTypeNames.Application.Octet);
This doesn't generate an…

Stef
- 93
- 1
- 12
2
votes
0 answers
PDF Files type saved as octet-stream in database and it wont save in the database table
I have created a web application using ASP.NET MVC
Here I have added User to upload Image type or PDF file to upload to the system in one module.
So the user uploaded files I'm saving as bytes in the database table. Also, I'm saving the file type in…

Dev Beginner
- 589
- 1
- 11
1
vote
1 answer
Unable to get custom headers with Axios in reactJs
I have an backend application running on fastAPI which I already allow CORS:
@app.get("/getfile/{obj_name}")
async def get_single(obj_name: str):
res = s3.get_object(Bucket=BUCKET_NAME, Key='medical-appointment/'+obj_name)
content =…

Leonardo Radillo escobar
- 81
- 1
- 10
1
vote
1 answer
How to get the binary data from a pdf and send back as response
I created a PDF of a website using puppeteer from a link provided by the client, and now I need to send back as response the stream code/ octet stream / binary data of this pdf, I am unsure how to do that can someone help me
I have the PDF stored…

craft55
- 93
- 1
- 6
1
vote
0 answers
GET Request is not working when I define Accept octet-stream output format
I'm trying to execute a GET Request in Postman to a specific endpoint to retrieve an octet-stream that represents an Employee Picture.
It works using POST Request type, as you can see in the following screenshot:
I know that the same service can be…

Marce
- 91
- 1
- 7
1
vote
2 answers
Python Write to file as binary (application-octet stream) file type format
We have a file without any extension. This file is given by client and used by another program
Sample content of the file is given below. It is just json content.
{"pid":23,"list":[{"pid":11}]}
From properties we can see that,this file is of type…

Nandha
- 752
- 1
- 12
- 37
1
vote
1 answer
Could not extract response: no suitable HttpMessageConverter found for content type [application/octet-stream]
I am making a simple Rest call as below with no headers in java. But I get this exception message: Could not extract response: no suitable HttpMessageConverter found for response type [class…
user9877702
0
votes
1 answer
Google Apps Script: The conversion of the format from application/octet-stream to application/vnd.ms-excel is not supported
I have a code that downloads email attachments to Google Drive. The attachments are in XLS format. However, they are recognized as Word documents on GDrive. How can I fix this?
function downloadAttachmentsAndMarkAsRead() {
var senderEmail =…

Timur Sarsembai
- 11
- 3
0
votes
1 answer
How can I convert an aac encoded octet-stream into a wav in swift
I'm attempting to convert a playable aac encoded octet-stream (recording.aac) that I recorded from an aac encoded livestream (https://archives.kdvs.org/stream) into a wav file. I'm not sure where to start and don't see much information online as how…

John Carraher
- 53
- 9
0
votes
1 answer
ExpressJS octet-stream sha checksum missmatch with openssl-dgt/sha256sum
I have the following request handler:
//app.ts:
app.use(express.json());
app.use(express.raw());
app.use(express.urlencoded({ extended: false }));
apr.use(routeHandler);
// routeHandler.ts:
(req: Request, res: Response) => {
…

Yarden Bar
- 63
- 6
0
votes
0 answers
POST API C# Body mode file with content type - application/octet-stream
Here is the JSON request as per POSTMAN I am having difficulty with posting file mode with content type as octet-stream. Wondering anyone have a sample code in C#: Here are the details:
POST API
Headers :
"method": "POST",
"header": [
{
…

msbyuva
- 3,467
- 13
- 63
- 87
0
votes
2 answers
API Gateway OpenAPI definition POST json file as binary
In AWS, I'm using API Gateway backed by lambda function to upload a JSON file and do some small checks in lambda and then dump it to S3. I'm getting stuck where the JSON file upload is done fine but when I look the file in the lambda logs I see that…

muazfaiz
- 4,611
- 14
- 50
- 88
0
votes
0 answers
Why command `file --mime-type` and `mimetype` give different results for the same file?
I have a file that contains a single text character (C). There is no line-feed character or similar in the file.
I am in Ubuntu 20.04.1.
When I use the command file --mime-type with this file the command says that the file is an…

Aleix Mariné
- 110
- 1
- 9
0
votes
1 answer
Copy response body which has content type as octet-stream using ADF
I am working with an API that sends the response as octet-stream. I am calling the API using Web activity in ADF. Now this response has to be saved in the ADLS file, could be either in csv or json format. Is there any possible way to do this.
I am…

Bikash
- 21
- 4