Chunked transfer encoding is a data transfer mechanism in version 1.1 of the Hypertext Transfer Protocol (HTTP) in which a web server serves content in a series of chunks.
Questions tagged [transfer-encoding]
142 questions
0
votes
2 answers
WSO2 Content-Length and Transfer-Encoding chunked
We need to send the content length in order to implements a progress bar for webservices using WSO2 Api manager. WSO2 API manager delete the content-length and by default send the response with Transfer-Encoding :chunked.
We try without any succes…

Vicking
- 553
- 6
- 15
0
votes
1 answer
Passing chunked third-party API response through a WebAPI controller
I am trying to consume an external API but the data that is returned is chunked:
Cache-control: max-age=7200
Content-Type: text/xml;charset=UTF-8
Vary: Accept-Encoding
P3P: CP="Anything"
ApacheTracking: localhost
Transfer-Encoding: chunked
which is…

r3plica
- 13,017
- 23
- 128
- 290
0
votes
1 answer
POST request with chunked body - response HTTP/1.0 411
I have an Apache2 server with a .php file that echo the request body to the screen.
I'm trying to send a POST request to the file with chunked body and the response is HTTP/1.0 411.
How can I configure the Apache to response with HTTP/1.1 and…

Raz Omessi
- 1,812
- 1
- 14
- 13
0
votes
0 answers
Requesting through HTTPURLConnection Transfer-Enconding chunked
I'm trying to get data from a API's endpoint and I have noticed the data I'm trying to get by HTTP POST method is huge and the API's server respond me with a response with one of headers set as Transfer-Encoding: chunked and I'd like to read the…

Saulo Ricci
- 776
- 1
- 8
- 27
0
votes
1 answer
[http]How to identify end of stream when content-length is not specified?
First let me show my code.
http=require("http");
fs=require("fs");
var server=http.createServer(function(req,res){
var readStream=fs.createReadStream("1.jpg");
readStream.on("data",function(data){
res.write(data);
});
…

AllenLin
- 170
- 1
- 10
0
votes
1 answer
http 1.1 GET command issue
I can download a test.pdf file using this get command below with a code that I've in C for a microcontroller to communicate with a server:
GET /TestFolder/test.pdf HTTP/1.1\r\n Host: www.xyz.com\r\n\r\n
the file: test.pdf is located in folder:…

ASG
- 39
- 1
- 4
0
votes
2 answers
How to break bigger chunk into smaller ones to fit into max chunk?
My server is sending me chunked encoded data and I am able to get the chunked response in my client. The problem I am facing is that some chunks are too big, ca 10 MB. I am getting an exception as I have set max chunk size to 2M.
Is there any way to…

Tinku
- 1,592
- 1
- 15
- 27
0
votes
2 answers
Problem turning HTTP Chunking off in AXIS2
I have a client sending me requests without HTTP chunking (they use content-length). When my server responds, chunking is enabled, and the client can't handle this - even though they should be able to as they are using HTTP 1.1.....
I have tried…
mike
0
votes
1 answer
Read chunked response
I'm trying to read a file in servlet and send(Response) it to jsp as chunked message, where I can see it in browser as plain text.
Here's what I have tried:
Servlet:
protected void doGet(HttpServletRequest request, HttpServletResponse response)…

Y.Prithvi
- 1,221
- 3
- 14
- 27
0
votes
0 answers
How I can disable HTTP Transfer-Encoding: chunked in UPNP event notifications?
I have an http server, which listens for UPNP events, and which not support http "Transfer-Encoding: chunked". When I subscribe to the UPNP device service notification, I use http v1.0, but I still receive notifications with HTTP 1.1 and…

Bernd Jacobi
- 571
- 2
- 5
- 18
0
votes
2 answers
Chunked responses in libevent2
I am trying to do a chunked response (of large files) in libevent this way::
evhttp_send_reply_start(request, HTTP_OK, "OK");
int fd = open("filename", O_RDONLY);
size_t fileSize = ;
struct evbuffer *databuff = NULL;
for (off_t…

Sri
- 1
- 1
0
votes
1 answer
Transfer XML as text or as Stream (Binary)
We would like to transfer a XML to a WEB API that can accept text as well as binary data.
What is the best way to transfer it in terms of traffic size?
Is it better to transfer it as clear text or as Stream of Binary data?

Omtechguy
- 3,321
- 7
- 37
- 71
0
votes
1 answer
Large data transfer between mobile app and a server
What's the server setup used for data communication between a mobile app (e.g. Android) and a server? Would an Apache http server with PHP be sufficient? Assume you need to transfer 1 GB of binary or text data once per day, or spread it out over…

user121196
- 30,032
- 57
- 148
- 198
0
votes
1 answer
How to control the use of http chunking in werkzeug under mod_wsgi
Under the following environment: Apache -> mod_wsgi -> python -> werkzeug
How can I control whether http ckunking is used and how big the chunks are?
Follow-up:
What I worry about is the difference between this:
response =…

GetFree
- 40,278
- 18
- 77
- 104
0
votes
1 answer
How to transfer db file over tcpip?
I have created wcf restful call which I am using for transfering notmal text file.
What is the possibile formate that I can user to have it transfer over tcpip?
I have tried reading it into the text formate but not able to get it in the reading…

updev
- 623
- 5
- 14
- 32