Questions tagged [http-chunked]
74 questions
5
votes
1 answer
Handle chunked data sent by Play scala with AngularJs
I send chunked data with Play Scala 2.2 to the client side like this : Ok.chunked(data)
I would like to use them as soon as they are available on the client side. If I just get the data and print them on .success, they are printed at the same time…

Simon
- 6,025
- 7
- 46
- 98
4
votes
1 answer
Terrible Apache Bench results on Custom CMS
Please note: This is not a complain about a shoddy CMS.
Just toying with Apache Bench and got terrible results with our custom CMS, more exactly i got:
Requests per second: 0.37 [#/sec] (mean)
When i run another test with a plain php file i…

fabrik
- 14,094
- 8
- 55
- 71
4
votes
0 answers
Golang NewChunkedReader Usage
I'm attempting to process a chunked response from a 3rd-party service by introducing it to httputil.NewChunkedReader:
chunkedReader := httputil.NewChunkedReader(chunkedResponse)
buf := new(bytes.Buffer)
buf.ReadFrom(chunkedReader)
return…

Paul Mooney
- 1,576
- 12
- 28
4
votes
0 answers
Why is my Rails app using chunked transfer encoding?
I am not using stream anywhere in my app, but responses are still being sent with transfer-encoding: chunked
additional mystery #1: the header is lowercase
additional mystery #2: there is an etag, which by default in rails is calculated using the…

John Bachir
- 22,495
- 29
- 154
- 227
4
votes
2 answers
C parsing HTTP Chunked transfer encoding response
I am developing a client that needs to parse Chunked-type HTTP transfers. I've beat my head against the wall trying to figure out the error with the following, and would appreciate it if someone might be able to catch my error a bit quicker. To sum…

E Klonowski
- 183
- 1
- 9
3
votes
1 answer
Is http stream actually implemented by http chunk?
At first, I thought http stream is actually implemented http chunk.
So I did a test to learn.
Here is a django view
def test_stream(request):
return StreamingHttpResponse(func)
func return iterable
Here is the output using curl to access the…

Kramer Li
- 2,284
- 5
- 27
- 55
3
votes
1 answer
curl with chunked Transfer-Encoding
I'm using curl to get a web page with chunked Transfer-Encoding header.
When I execute the command on linux bash (CentOS) I receive the pid of the process and I get back the shell, it seems curl is executed in background and after some minutes on…

Bagbyte
- 845
- 2
- 18
- 34
2
votes
1 answer
Does Fetch's Response.body chunks correspond to HTTP chunks?
I'm doing a Fetch-api request where the server replies using the HTTP chunked transfer encoding (with text data). I'm consuming the data using the Response.body as a stream.
I'm wondering: Is it safe to assume that the chunks generated by the stream…

Vidar
- 1,777
- 1
- 11
- 15
2
votes
1 answer
Java: How to download chunked content correctly?
I have to download file which HTTP response is "Transfer-Encoding: Chunked", because of what I can't to «getContentLength» to allocate new bytes buffer for DataInputStream.
Can you advice me how to do it correctly?
Code example is very…

Clark
- 2,083
- 6
- 32
- 47
2
votes
0 answers
Chunked file uploads in Spray.io?
I have many clients that will upload arbitrarily large files (i.e., let's say up to 5GB). For performance reasons, this has to be done in a streaming way where the clients can split the file into a series of chunks before uploading them in parallel.…

lolski
- 16,231
- 7
- 34
- 49
2
votes
2 answers
Changing Netty 4 HTTP File Server example to use ChunkedStream instead of ChunkedFile
I'm trying to wrap my head around Netty 4 way of implementing a HTTP Server that serve HttpResponses bodies using chunked transfer-encoding when total data size is unknown.
As a starting point, I simply changed the HttpStaticFileServerHandler (found…

eskatos
- 4,174
- 2
- 40
- 42
2
votes
2 answers
WinSock Chunked Data Encoding
When I connect to some sites, it gives me:
Content-Type: text/html; charset=ISO-8859-1
Connection: close
Transfer-Encoding: chunked
Date: Tue, 01 Jan 2013 18:49:53 GMT
fff8
And at the end of the file, it looks like: