Questions tagged [chunked]

Chunked transfer encoding is a data transfer mechanism in version 1.1 of HTTP in which data is sent in a series of "chunks"

240 questions
2
votes
0 answers

How to create Large resumable download from a secured location .NET

I need to preface I'm not a .NET coder at all, but to get partial functionality, I modified a technet chunkedfilefetch.aspx script that uses chunked Data Reading and writing Streamed method of doing file transfer, to get me half-way. iStream = New…
Kelvin H
  • 21
  • 4
2
votes
0 answers

Blueimp jQuery File Upload Delete aborted chunked uploads from server-side?

I'm using Blueimp jQuery File Upload with chunked uploads to handle large files, and everytime file upload are completed or file are removed, I update the client's disk space used in database. My problem is: when the upload process is interrupted, I…
thego
  • 21
  • 2
2
votes
1 answer

PHP - Chunked file copy (via FTP) has missing bytes?

So, I'm writing a chunked file transfer script that is intended to copy files--small and large--to a remote server. It almost works fantastically (and did with a 26 byte file I tested, haha) but when I start to do larger files, I notice it isn't…
Nathanael
  • 6,893
  • 5
  • 33
  • 54
2
votes
2 answers

Chunked input stream ended unexpectedly

I have tried to write a program that gets a file from web server in a chunked format. I am trying to use ChunkedInputStream class in HTTP 3.0 API. When I run the code, it gives me "chucked input stream ended unexpectedly" error. What am I doing…
user1480813
  • 35
  • 1
  • 6
2
votes
2 answers

Perl Split Binary Data into Chunks with Unpack

I'm using Transfer-Encoding: chunked to write an HTTP response. The response is split into pieces via the following: my $template = "a$buffer_size" x int(length($response)/$buffer_size) . 'a*'; foreach my $buffer (unpack $template, $response){ …
xpsd300
  • 175
  • 2
  • 11
2
votes
1 answer

On JBoss 4.2.3.GA - JSP response header transfer-encoding:chunked makes it so I can't cache jsp content on load balancer

On JBoss 4.2.3.GA, we have a JSP response that is being generated with transfer-encoding:chunked. This is preventing our Netscaler load balancer from allowing the HTML generated by the JSP from being cached because it thinks it is variable content.…
Nicholas DiPiazza
  • 10,029
  • 11
  • 83
  • 152
1
vote
5 answers

how to read a int[] chunk by chunk

Suppose an int[] is passed in, and I have function f(int[] array), if I don't know the length of array, how can I execute it chunk by chunk? or is there any better way do it? Thanks
Jeffrey.W.Dong
  • 1,057
  • 3
  • 14
  • 21
1
vote
1 answer

Streaming response back to client from a ServerResource

I am streaming content to my rest end-point and I have implemented it as a ServerResource. Consuming the incoming stream is not a problem but while processing the input I do want to start feeding info back to the client. However, I assume this…
jonbo372
  • 88
  • 1
  • 6
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…
1
vote
1 answer

Transfer-encoding chunked in golang proxy

I'm new to golang and I'm trying to build a small local proxy. The request kinda works from Postman -> localhost:9097 -> localhost:9098 and back. But the content-length is 120 and the response body is just gibberish: I expect to get a json body…
mroizo
  • 81
  • 5
1
vote
0 answers

How can I play chunked video using react-native-video?

We are developing application such as Tiktok where we are using Flatlist to list videos and using react-native-video library to display videos. Now, whenever our video is big such as 50 MB or 100 MB, react-native-video is taking too much time to…
1
vote
1 answer

Parsing responses of content-type chunked in python

I'm trying to read and parse a request of content-type: chunked in python. Here is what I see when I load the url in a browser and look at the source: