Questions tagged [transfer-encoding]
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.
transfer-encoding
143
questions
3
votes
0
answers
53
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
32
views
exchange web services: export item which larger than 2GB got 400 with empty response
I am writing a exchange client to backup and restore emails. using ews api. using python3 urllib send xml format (soap) http post body. The Authentication Method is ntlm. The exchange server is ...
0
votes
0
answers
109
views
Prevent HTTP Request Smuggling in Netty-4.1.96
I am working on a application based on Netty. Recently from our security scanner, we got to know that our application is vulnerable to Http Request Smuggling Attack. Post to that I did some ...
0
votes
0
answers
75
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
1k
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
241
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
342
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
1
answer
862
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
1k
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 ...
1
vote
0
answers
2k
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
350
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
391
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 ...
3
votes
1
answer
489
views
Will a web browser ever send a request with the Transfer-Encoding header?
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 ...