Chunked transfer encoding is a data transfer mechanism in version 1.1 of HTTP in which data is sent in a series of "chunks"
Questions tagged [chunked]
240 questions
0
votes
0 answers
R - reading large file without loading into memory using chunked - warnings and errors
I am trying to import a large SAS dataset (75.5 million rows, sas7bdat) into RStudio in a way in which I can work with the whole dataset. After doing some digging and talking to some people it sounds like what I want to do is read in the file…

abra
- 61
- 1
- 9
0
votes
1 answer
I'm trying to take names and the amount of groups from a user. Then separate them into groups. Kotlin
fun main(args: Array) {
//receive names from user
print("Enter the names: ")
val names = readLine()?.split("/n")
//receive number of groups from the user
print("Enter number of groups: ")
val group =…

Origon09 _
- 9
- 1
0
votes
0 answers
webserver serves post content in chunked encoding
I have a question about web server (Nginx, Apache, etc)'s ability to serve posted content in chunked encoding.
Suppose we have two clients. Client 1 is posting chunked encoded content to a web server, and client2 is requesting the same content at…

pyang
- 109
- 7
0
votes
1 answer
Python3 ThreadingHTTPServer fails to send chunked encoded response
I'm implementing a simple reverse proxy in Python3 and I need to send a response with transfer-encoding chunked mode.
I've taken my cues from this post but I have some problems when sending the chunks in the format described here
If I send chunks of…

manuel_b
- 1,646
- 3
- 20
- 29
0
votes
1 answer
React: Corrupted Chunked File Upload with Next.js
I'm working on the functionality of file upload (any kind of files), with axios and Next.js. I'm limiting chunk size of uploaded file to 768kB (as next.js server dev only allows up to 1MB )
For image and video files, it works correctly. The uploaded…

ir1keren
- 37
- 9
0
votes
0 answers
Chunking axios.get requests with a 1 second delay per chunk - presently getting 429 error
I have a script using axios that hits an API with a limit of 5 requests per second. At present my request array length is 72 and will grow over time. I receive an abundance of 429 errors. The responses per endpoint change with each run of the…

mezzomix
- 13
- 8
0
votes
1 answer
esp32 rest chuncked response
Im trying to know the real wifi speed capabilities of the esp32, and so i created a simple routine using a common library
void speedTest(AsyncWebServerRequest *request)
{
static uint8_t data[1024] = {0};
static uint32_t dataLen =…
0
votes
1 answer
"cannot infer an appropriate lifetime" when attempting to return a chunked response with hyper
I would like to return binary data in chunks of specific size. Here is a minimal example.
I made a wrapper struct for hyper::Response to hold my data like status, status text, headers and the resource to return:
pub struct Response<'a> {
pub…

Marko Seidenglanz
- 107
- 2
- 8
0
votes
1 answer
How to chunk a list in specific value? [Kotlin]
How to chunk a list in specific value?
Ex: split where current value is 5
val x = listOf(1,2,3,4,5,2,3,1,5,4,1,5)
convert x to this:
x => [[1,2,3,4,5],[2,3,1,5],[4,1,5]]

kaMChy
- 441
- 5
- 9
0
votes
1 answer
How to unformat a filename?(Parsing or opposite of format)
I want to return the filename of the files that has been converted by this function.
from more_itertools import chunked
def file_conversion(input_file, output_file_pattern, chunksize):
with open(input_file) as fin:
reader =…

Atom Store
- 961
- 1
- 11
- 35
0
votes
1 answer
Transfer-encoding: chunked and MP3/Lame
I have a PHP webservice that returns an mp3 HTTP response. It works, but when I turn on Chrome's network throttling in DevTools, it returns only part of the response:
$stream_start1 = Psr7\stream_for(fopen('./sounds/ping.mp3', 'r'));
…

xdhmoore
- 8,935
- 11
- 47
- 90
0
votes
1 answer
HTTP error on esp32 while streaming audio to wit.ai
I have a problem which I believe is caused by my HTTP request's syntax.
I'm trying to stream audio to the wit.ai API to do a speech recognition and I'm getting the connection reset by peer and the 400 Bad request error.
Here is my code to start the…

Antonin GROS
- 31
- 1
0
votes
1 answer
Getting total file length when using chunked http transfers
I've written a program in Java to use chunking to download large files over http. Everything is working fine but I'd like to add a progress bar which I can't do unless I get the total length of the file. Is there any way to do this?

Joe
- 73
- 1
- 10
0
votes
0 answers
Large file processing - error using chunked::read_csv_chunked with dplyr::filter
When using the function chunked::read_csv_chunked and dplyr::filter in a pipe, I get an error every time the filter returns an empty dataset on any of the chunks. In other words, this occurs when all the rows from a given chunk of the dataset are…

arnelton
- 1
- 1
0
votes
0 answers
Laravel excel: read specific rows while using collections
Laravel version: 7.x
I have a test data file of 1161 rows, which needs to be uploaded via ajax and rendered in the editable format, in case of validations failed. So I am using Excel::toCollection(...). But, even with this small amount of data, the…

Mr.Singh
- 1,421
- 6
- 21
- 46