Questions tagged [http-chunked]
74 questions
1
vote
1 answer
How to upload data using chunked encoding?
I want to upload audio data through chunked transfer encoding. My application reads audio buffer after each 0.5 seconds. As soon as I get data, I want to upload this data on the server using chunked encoding. Also I want to keep the connection open.…

Apurv
- 17,116
- 8
- 51
- 67
1
vote
0 answers
Sending mp3 over http chunked encoding in vb.net
Hi I'm trying to send mp3 data over http with chucked encoding. The idea is that the mp3 will later be a live stream (of mp3 pieces) so I don't know what the content length will be.
Here is my code which isn't playable when I access with a…

acheo
- 3,106
- 2
- 32
- 57
1
vote
1 answer
HTTP Live Streaming of static file to iOS device
I'm trying to understand the "chunked" aspect of HTTP Live Streaming a static video file to an iOS device. Where does the chunking of the video file happen?
Edit: from reading HTTP LIve Streaming and a bit more of…

SundayMonday
- 19,147
- 29
- 100
- 154
1
vote
1 answer
Chunk transfer vs grpc streaming
I am working on a project, where I want to expose an API which will read a large file send that in response.
Since file can be large in size, it is better to send the file in chunks, so not much memory pressure on system.
I evaluated 2 options :…

Rajat Goyal
- 465
- 1
- 5
- 20
1
vote
1 answer
Apache 2: How to change http chunk size?
I believe Apache 2.x defaults to a http/1.1 chunk size of 8192 bytes?
I don't see a directive to change it - it there anything undocumented?
Also, is it possible to force a file to be chunked? Apache will typically not chunk a file if it knows the…

ck_
- 3,353
- 5
- 31
- 33
1
vote
0 answers
C# Retrieve an HTTP POST chunked response by chunk?
I am working with an API that accepts an HTTP POST request along with URL-form-encoded query data as the payload. The response from the server is chunked, and each chunk contains a single JSON object. I'm trying to read and parse the server's…

fdmillion
- 4,823
- 7
- 45
- 82
1
vote
1 answer
Is this response properly encoded?
I am receiving the following headers in response to a web request:
HTTP/1.1 200 OK
...
...
Pragma: no-cache
Content-Type: binary/octet-stream
Transfer-Encoding: chunked
...
Ÿ’âýÝ©ËIJ‹sç
ÿ-
// in hex the encoded data reads:
// 00000000 9f 92 e2 fd…

Nonu
- 11
- 1
- 2
1
vote
1 answer
Chunked transfer encoding - Page is not displayed properly
My task is to implement simple HTTP server. I should support chunked transfer encoding when I send response. Here is my function that send response to client.
static int serve_request(int sock, struct conf_arg *arg, char version[])
{
FILE *html…

Максим Белан
- 47
- 8
1
vote
1 answer
Upload a chunked image file issue
I'm using ng-file-upload directive to send an image to server from my angular application. Here is my code:
Upload.upload({
url: 'http://localhost:5000/upload',
data: { file: blobFile },
resumeChunkSize: 10000,
}).then(function (resp) {…

John Mcculley
- 11
- 1
- 6
1
vote
1 answer
How to produce a response body with asynchronously created body chunks in Swift Vapor
I am looking into the Swift Vapor framework.
I am trying to create a controller class that maps data obtained on an SSL link to a third party system (an Asterisk PBX server..) into a response body that is sent over some time down to the client.
So I…

aaberga
- 317
- 1
- 2
- 8
1
vote
1 answer
How can I implement chunked http requests on iPhone?
Currently I'm trying to use a NSMutableURLRequest, setting the HTTPBody to a custom written NSInputStream of mine that provides this chunks.
This would be fine if it were not for the fact that NSMutableURLRequest keeps asking me to implement more…

rui
- 11,015
- 7
- 46
- 64
1
vote
1 answer
Convert HttpEntity.Chunked to Array[String]
I have the following problem.
I am querying a server for some data and getting it back as HttpEntity.Chunked.
The response String looks like this with up to 10.000.000 lines like…

rincewind
- 623
- 6
- 13
1
vote
0 answers
using chunked encoding request with variable chunk size in Java (HttpUrlConnection)
I'm searching for weeks now to find a solution how to use chunked transfer encoding in a Java client without coding my own myHttpURLConnection.
The HttpUrlConnection of Java expects a fixed chunk size, which is not usable for me. The data consists…

Synopsis
- 191
- 1
- 5
1
vote
0 answers
Use HttpListener to send HTTP trailer in chunked response
I Implemented a HttpListener to process post requests. I need to stream data in the response and then send a trailer. See: HTTP Trailer Example
I've gone through the HttpListenerResponse Source Code to see if I can use reflection to trick it to…

ren
- 21
- 1
- 5
1
vote
1 answer
Serving Chunked Transfer Coding from flask through nginx
I have some issues serving Chunked Transfer Coding through Nginx.
The data served comes from a flask app running through uwsgi. Here is a sample response that uwsgi gives to a GET request:
0000: 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d…

sknat
- 468
- 3
- 14