Questions tagged [http-chunked]
74 questions
0
votes
0 answers
ERR_INVALID_CHUNKED_ENCODING for chunked transfer encoding for HTTP server
My task is to implement simple HTTP server with chunked transfer encoding.
Here is function that read request and send response to the client.
static int serve_request(int sock, struct conf_arg *arg, char version[])
{
int html;
…

Максим Белан
- 47
- 8
0
votes
1 answer
Tiny web server without compressed transfer encoding
I am working on a very constrained device that has TCP support, and I want to support HTTP/1.1 but eliminate all of the compression support to make it fit the device limitations.
If a client sends compressed transfer encoding, which HTTP response…

jws
- 2,171
- 19
- 30
0
votes
1 answer
Why can't I prevent chunking on my HttpRequest from WPF client to Web API controller?
I have been battling this for a week now. See my previous question for some additional background.
My WPF client makes GET, POST and PUT calls to my Web API controllers. All was well for weeks. Then suddenly, all of my PUT and POST calls are…

TomK
- 523
- 2
- 7
- 18
0
votes
1 answer
Why are POSTs and PUTs ReadAsAsync() null, but ReadAsStringAsync() filled? AKA "How do I turn Chunking Off?"
I have a Web API project that has a few dozen RESTful methods, split about evenly between GETs, POSTs and PUTs. The system uses Entity Framework objects and Newtonsoft's JSON from Nuget (version 9.0.1).
Something I've done recently has suddenly…

TomK
- 523
- 2
- 7
- 18
0
votes
1 answer
What response header should HTTP HEAD method get for a dynamically generated file?
The http spec says about the HEAD request:
The HEAD method is identical to GET except that the server MUST NOT
return a message-body in the response. The metainformation contained
in the HTTP headers in response to a HEAD request SHOULD be…

smwikipedia
- 61,609
- 92
- 309
- 482
0
votes
2 answers
Transfer-Encoding: chunked-- Browser does not respond
I have made a very simple web server on my LINUX machine using TCP socket programming in C language.I am sending it a HTTP GET request from a browser(both chrome and mozilla ) from the local machine.
This problem is that when i do not set the…

jps
- 173
- 1
- 13
0
votes
1 answer
Timeouts for ack in spray
In Spray, for chunked response we can send chunked message with an ack like
peer ! MessageChunk(buffer).withAck(MyAck(k))
and we can get ack message back which confirms the message delivery to the OS network layer. Do we have something like…

Tinku
- 1,592
- 1
- 15
- 27
0
votes
1 answer
Performance of chunked encoding for file transfers
I noticed that chunked encoding is ideal for transfers of web page content where size is unknown. If I'm compelled to use HTTP for file uploads and downloads, is it valid to use the chunked encoding feature of HTTP/1.1 for performance benefit? Or…

Krishter
- 489
- 8
- 24
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
1 answer
A specific Request is not getting recording in Jmeter 2.9
I tried to record a complete screen but unable to record a single Response.
The Screen is for getting live data. So when I clicked on Live Data the page is getting recorded(Jmeter2.9) apart from the Response which contains the Live Data.
It is…

chinmay brahma
- 97
- 4
- 17
0
votes
0 answers
http chunked encoding: response works even without the header
According the spec, Transfer-Encoding is required for the chunked behavior to work.
However, during debugging I observe that when the header is not in the response, the client appears to handle it just fine.
tcpdump trace is roughly:
Without…

user1992313
- 31
- 2
- 6
0
votes
1 answer
I am trying to send an HTML part as chunks in an HTTP response using a perl script but I am getting compilation errors
Following is a portion of the script I am using to send HTML page as chunked response. However upon running the script throws compilation errors like :
Number found where operator expected at nph-99_1_1_18.pl line 19, near "print "233"
(Might be a…

Dcoder
- 379
- 2
- 7
- 13
0
votes
1 answer
Http Response Entity on upload to S3 is not empty but is acting like it
I'm trying to upload a file to my Amazon S3 bucket with authorization. I know that my signature works: using the same url, headers, and signature with hurl.it leads to a successful upload.
I also know that regular file upload with my program works:…

Koof
- 75
- 4
-1
votes
1 answer
Read from a compressing GZipStream
I'm exploring how to implement an HTTP server in C#. (And before you ask, I know there is Kestrel (and nothing else that isn't obsolete), and I want a much, much smaller application.) So, the response could be a Stream that cannot be seeked and has…

ygoe
- 18,655
- 23
- 113
- 210