144 questions
0 votes
0 answers
64 views
NextJs + tRPC with Nginx as reverse proxy - duplicate header Transfer-Encoding: chunked
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 ...
0 votes
0 answers
111 views
Nginx cuts off data and does not use Transfer-Encoding: chunked
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 ...
0 votes
0 answers
101 views
Do browsers ever make chunked requests?
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 ...
3 votes
0 answers
536 views
Can I read HTTP response with Transfer-Encoding=identity header in Golang?
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 ...
0 votes
0 answers
113 views
Why does MS Graph calendar event deletion respond with Transfer-Encoding header, violating the HTTP spec?
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}, ...
1 vote
0 answers
2k views
Parse Error: Invalid character in chunk size when using ResponseWrapper
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-...
0 votes
1 answer
386 views
Oracle ORDS - Can I control the Transfer-Encoding?
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 ...
1 vote
0 answers
451 views
Header 'Transfer-Encoding' in Google Cloud Run
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 ...
0 votes
0 answers
1k views
configure echo http server to control transfer encoding
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 ...
0 votes
0 answers
2k views
Downloading large excel file in angular using xlsx library(net::ERR_INCOMPLETE_CHUNKED_ENCODING 200)
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 ...
2 votes
0 answers
3k views
Response.body(ReadableStream) getReader().read() is taking plenty of time for receiving first chunk as if it's waiting for entire response to complete
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 ...
0 votes
1 answer
2k views
Http Request Smuggling Vulnerability
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 ...
0 votes
1 answer
434 views
Why Transfer-Encoding request header does not interpret correctly?
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....
0 votes
0 answers
494 views
Tomcat returning content-length zero randomly
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 ...
1 vote
0 answers
2k views
Setting System.Net.HttpWebRequest TransferEncoding to chunked always results in a exception
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 ...