Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
65 views

tRPC when used on client side with .useMutation() hook sends duplicate Transfer-Encoding: chunked header Link to reproduction: https://github.com/DownDev/trpc-bug To reproduce run using: docker ...
Miki 15's user avatar
0 votes
0 answers
111 views

I use nginx to proxy requests to the Server Sent Events API. Without nginx everything works fine, but when proxying through nginx the event body is cut off and further events do not arrive. Nginx ...
sbnet's user avatar
  • 1
0 votes
0 answers
103 views

While studying NodeJS fetch failed (object2 is not iterable) when uploading file via POST request I learned that web servers do not generally support chunked HTTP/1.1 requests (they do return chunked ...
Heiko Theißen's user avatar
3 votes
0 answers
536 views

Can I read HTTP response with Transfer-Encoding=identity header in Golang? Since at here shows that the official http library, net/http only support "chunked" in inbound Transfer-Encoding ...
haojie zhang's user avatar
0 votes
0 answers
113 views

My application has been in production for several months and everything worked fine. Howwever, since February 24, 2023, whenever it deletes a calendar event via DELETE /me/calendars/{id}/events/{id}, ...
Jens Bannmann's user avatar
1 vote
0 answers
2k views

I'm getting below errors in different conditions when hitting GET request. a) Parse Error: Invalid character in chunk size when using postman. b) Illegal or missing hexadecimal sequence in chunked-...
Gourav Kumar's user avatar
0 votes
1 answer
386 views

Please note I'm new to APIs and ORDS. I've created a few APIs with Oracle Rest Data Services (ORDS) which returns 30,000 records at a time. I've noticed in the return header that Transfer-Encoding is ...
JacquesB's user avatar
1 vote
0 answers
451 views

Has anyone tested or worked with the response header : 'Transfer-Encoding' to obtain it as a response header in a service deployed in Cloud Run ? I can't find it in my API response headers, if I ...
xgeek652's user avatar
  • 365
0 votes
0 answers
1k views

I have a simple HTTP server written in golang using echo v4. When the response size is bigger than a certain size (threshold is 2.12K as I have tested), server sets the Transfer-Encoding header to ...
Zeinab Abbasimazar's user avatar
0 votes
0 answers
2k views

I am trying to download very large files using xlsx and file-saver in angular. I even tried streamsaver instead of file-saver and still get the same error. I get the results from my api just fine on ...
user2868864's user avatar
2 votes
0 answers
3k views

Currently, I am consuming a streaming API(transfer-encoding: 'chunked') and using the data in each chunk to render the UI as and when new chunk is received. When I check the timings tab under network ...
nole's user avatar
  • 581
0 votes
1 answer
2k views

We are blocking the requests with header containing Transfer-Encoding. Only requests with Content Length are allowed.This wil impact to the application by any means, also how is determined to send ...
Nithya Karthick's user avatar
0 votes
1 answer
434 views

Here is the PHP code for pg3.php: <html> <body> <form method="post" action="pg3.php"> <h2><font color="red">::Welcome to Server1: 172.16.24....
mehran_2020's user avatar
0 votes
0 answers
494 views

We are using PDF.js as PDF viewer and the following code is used as the endpoint for downloading PDF. The issue is sometimes, ~80% of the times, when a large PDF, say > 5 MB, is opened the PDF.js ...
msmani's user avatar
  • 720
1 vote
0 answers
2k views

I'm trying to understand whether I'm missing something or whether it's a limitation in HttpWebRequest setting the TransferEncoding value to chunked. The below code works perfectly fine, as long as I ...
Domitius's user avatar
  • 485
3 votes
1 answer
623 views

Note This question is about requests with the Transfer-Encoding header, not responses Yes, requests can use the Transfer-Encoding header Transfer-Encoding is a general-header Requests may use ...
dminuoso's user avatar
  • 993
0 votes
0 answers
50 views

I have a website where users need to see a link to download a file (approximately 100 MB size) only after authenticating (userid/password) themselves in the website. Users should not be able to copy ...
yathirigan's user avatar
  • 6,139
0 votes
0 answers
144 views

Is there a way to request a server to not answer request with Transfer-Encoding: chunked on XMLHttpRequest? Like passing a value in the header during the request? In another SO question they said one ...
user5507535's user avatar
  • 1,838
0 votes
1 answer
892 views

I am working on an analytic API for small ML project. I have created an endpoint, which uses Flask's stream_with_context function like in the example below: def post(): # some logic [...]...
mik0w's user avatar
  • 156
0 votes
0 answers
253 views

Response Transfer-Encoding header's value is not always present. There is an ASP.NET Core(Razor) web app hosted on localhost. A small console application periodically(every 2-3 minutes) makes 45 ...
Igor's user avatar
  • 374
1 vote
1 answer
1k views

I have a server A that uses Httpcore, HttpcoreNIO for HTTP communications. I have written a Simple Java Socket Server B to use as a backend. public void run() { String expectedResponse = "...
Arunan 's user avatar
  • 3,524
0 votes
1 answer
3k views

I'm not getting that in Transfer-Encoding: chunked, how the size is counted. can anyone explain this chunk size please? thank you. POST / HTTP/1.1 Host: your-lab-id.web-security-academy.net Content-...
ivreznap's user avatar
1 vote
0 answers
78 views

I was trying to make a download manager that supports resume. My app uses the cookies and headers got from Chrome browser via an extension that I have. I faced a problem when I tried to send partially ...
Ali Tor's user avatar
  • 3,025
0 votes
1 answer
489 views

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\...
xdhmoore's user avatar
  • 10.2k
0 votes
1 answer
1k views

I am working on my HTTP server and I applied chunked transfer encoding to my responses if the requested file is larger than 64K. It works fine with Firefox, I can even send large videos, but Chrome ...
Olexandr Kulinich's user avatar
1 vote
0 answers
1k views

When I use requests lib in Python, there are some cases in which I cannot get 'Content-Length' in headers with 'Transfer-Encoding': 'chunked'. Firstly I tried requests.get(image_url), there is no '...
quyleanh's user avatar
1 vote
2 answers
406 views

I'm writing function for send request and get response of websites and parse of content of it... but when i send request to persian sites it cant decode content of it def gather_links(page_url): ...
ali frd's user avatar
  • 51
-4 votes
1 answer
2k views

I'm streaming http from Go and the server responds with "Transfer-Encoding: chunked" as expected. And I've been told that the http client in Go shall automatically dechunk the body from the http ...
Lalle's user avatar
  • 740
1 vote
1 answer
8k views

I am using WINC1500 WiFi (with Arduino) to connect to a server (https) and to send some API requests. In the header I send: POST /api/myapi.php HTTP/1.1 Host: myserver.com Accept: application/json, ...
Junior's user avatar
  • 567
0 votes
0 answers
667 views

I'm trying to write a .NET web API that will receive HTTP requests from some devices and handle the data sent. I know the exact format of the data being sent and the ip/port that the data is sent to. ...
koklua's user avatar
  • 1
2 votes
0 answers
2k views

I am having @RestController with endpoint like below (spring-boot version 1.5.9.RELEASE) @RestController public class Controller { @PostMapping(value = "profile", consumes = MediaType....
Raashith's user avatar
  • 165
1 vote
0 answers
631 views

I use to think that the use of binary encoding is because every device has its way to interpret bytes. Thus if a router sends a bit as some significant information other router might treat this byte ...
Harshank Bansal's user avatar
4 votes
1 answer
12k views

Situation I am using HttpClient (System.Net.Http, Version=4.2.1.0) to POST an HTTP request with multipart form data to a web API. The form data includes a string parameter (benchmark) and a file (...
MattEvansDev's user avatar
0 votes
1 answer
466 views

How to identify whether an http request has body or not. Referred this HTTP response headers valid with no Transfer-Encoding and Content-Length?. The request made from swagger ui has body and no ...
Vithursa Mahendrarajah's user avatar
2 votes
1 answer
3k views

I have a situation like this.A SOAP request is sent from an application to our server. The request works fine when testing locally but always fails when testing live on the dev server. The ...
kopz's user avatar
  • 804
1 vote
0 answers
443 views

I had to relocate our local service to another ip address and added a HAproxy to handle the request. My problem is that my client tries to send requests using Transfer-encoding: chunked. If I use ...
sfeher's user avatar
  • 51
2 votes
2 answers
3k views

Configuration Rails: 4.2.7.1 Puma: 3.8.2 -- Transfer-Encoding: chunked I've been unable to make this work and unable to find a definitive answer: in the above configuration, I want to stream ...
Publius's user avatar
  • 53
0 votes
1 answer
133 views

envirment: passenger 5.0.0 apache:2.4.6 passengerbufferupload off Error: when put file with transfer-encoder:chunked by http request, can't get file content from apache. apache error log: App ...
lijingjie's user avatar
1 vote
1 answer
2k views

Business service gives transfer-encoding as 'chunked' even though the 'use chunked streaming mode' is disabled in the http Transport configuration. As part of one of our requirements we need the ...
sanjay kumar's user avatar
0 votes
1 answer
2k views

I'm working on a Android sample app that get film list from http://www.omdbapi.com/. The REST service is: http://www.omdbapi.com/?s=star&apikey=d497e644 I'm using Retrofit to write the client. ...
xcesco's user avatar
  • 4,848
8 votes
1 answer
2k views

I have a Tomcat 7 , Spring 4.2 'RestController' implementation of REST API which seems to produce 'ERR_INVALID_CHUNKED_ENCODING' for few API calls on returning a JSON response. It is the same code ...
Krithika Vittal's user avatar
0 votes
0 answers
374 views

I am trying to send data via sslstream from my c# webserver to a Browser. For some reason "Transfer-Encoding: chunked" is not working. Do you see any mistakes in my code below: string header = ...
Markus Tröstler's user avatar
4 votes
0 answers
2k views

when I attempt compress a response with zlib nodejs express changes the headers. Code: var acceptEncoding = req.headers['accept-encoding']; if (!acceptEncoding) { acceptEncoding = ''; } ...
user5731385's user avatar
1 vote
1 answer
2k views

I try to configure Google Cloud CDN to my container engine project. Following the documentation It has either a Content-Length header or a Transfer-Encoding header in order to be cached. My backend ...
maxiplay's user avatar
  • 427
1 vote
1 answer
793 views

I am authoring a service with a REST API, that gives people the ability to upload certain kinds of documents. I would like these documents to be compressed during upload (for bandwidth reasons) but ...
user9476940's user avatar
4 votes
1 answer
6k views

If I use chunked transfer encoding with nginx, uwsgi and flask I always get Content-Length in headers together with Transfer-Encoding: chunked. However, HTTP 1.1 prohibits this behaviour. I have tried ...
sopticek's user avatar
1 vote
1 answer
5k views

Does golang's net/http package support requests with chunked transfer-encoding? Thus far I have been able to use the Hijacker interface (https://golang.org/src/net/http/server.go?s=6173:6875#L156) to ...
thinkski's user avatar
  • 1,322
7 votes
1 answer
2k views

I have ASP.NET Web API running on IIS 8.5, and my POST method takes in a body of json document. Now a client app is using apache httpclient, which apparently automatically adds the Transfer-Encoding: ...
Tuomas's user avatar
  • 71
6 votes
2 answers
2k views

I'm trying to send some data to a web service which requires the "Transfer-encoding: chunked" header. It works fine with a normal POST request. But as soon as I add the header, I always get: The ...
sph's user avatar
  • 71
1 vote
1 answer
1k views

I'm trying to build a barebones HTTP/1.1 client using just sockets. Whenever i try to use Transfer-encoding: chuncked, the code give me following status:502 Bad Gateway. s = socket.socket(socket....
Ryan's user avatar
  • 21