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.

142 questions
1
vote
0 answers

HTTP 1.1 Transfer-Encoding:chunked opens new TCP socket each time

Protocol used: HTTP 1.1 Header includes 'Transfer-Encoding: chunked' On sending subsequent requests (same request to the same server), containing 'Transfer-Encoding: chunked', I see new TCP socket being opened for each request. Should the same…
user1835051
1
vote
1 answer

How to disable Transfer Encoding: chunked for ServiceStack

Is there a way to configure ServiceStack to not add the transfer-encoding:chunked in the response of the HTTP header and disable this encoding type?
Inprimex
  • 147
  • 1
  • 6
1
vote
1 answer

Transfer-Encoding Chunked Box-API

I would like to know if -H "transfer-encoding: chunked" is supported in Box.net? curl --verbose https://www.box.com/api/2.0/files/content -H "Authorization: BoxAuth api_key=zzgfxxxxxxxxxxxxxxxqnvucpz&auth_token=09ngxxxxxxxxxx3esvtx2" -H…
1
vote
0 answers

How to get the "transfer-encoding" and "Content-Encoding" headers from external urls with PHP?

I have a client who would like to get a web-based report on all the headers from a webservice response. My client also uses SoapUI to check on method responses and he can double-check the response headers on that application. I have tried PHP…
vnobre
  • 11
  • 2
0
votes
1 answer

Downloading a file with transfer-encoding header on android

I have a strange problem that I would really some insight on. I have some code to download various files. Some files return the "transfer-encoding" header with a value of "chunked" and I'm pretty sure this is what's causing me problems. Here's where…
Pzanno
  • 2,185
  • 2
  • 20
  • 23
0
votes
0 answers

Synology DS215+ PHP8.0 NGINX I want to create a new site in port 80 without Transfer-Encoding: chunked

I've created the site under /volume1/web/MyWeb and created a custom Nginx configuration under /etc/nginx/conf.d, but I cannot configure it to prevent "Transfer-Encoding: chunked" header in the response. I must configure it in this way, because I'm…
0
votes
0 answers

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}, the response from Microsoft Graph includes a…
0
votes
1 answer

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 chunked. Another similar API has…
JacquesB
  • 37
  • 5
0
votes
0 answers

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 create any other custom header I can get it. Backend :…
0
votes
0 answers

GCP Cloud Run and Transfer-Encoding (chunked) in response headers not found

I'm trying to stream into chunks some pdf files from a NestJS application deployed on Cloud Run. I'm always getting error after 32 MB reponse size even when sending the buffer (file) in multiple chunks , I also can't get the response header…
0
votes
1 answer

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 chunked and sends the response in multiple chunks,…
Zeinab Abbasimazar
  • 9,835
  • 23
  • 82
  • 131
0
votes
0 answers

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 testing through postman. it doesn't show on chrome…
user2868864
  • 165
  • 2
  • 12
0
votes
1 answer

Send data to client using Chunked Transfer Encoding

I’m building a Streaming Video Server for a homework exercise, now I want to send data to client using Chunked Transfer Encoding. This is my code : string statusLine = "HTTP/1.1 200 OK\r\n"; string server = "Server:…
PenguinSh
  • 129
  • 2
  • 4
  • 12
0
votes
1 answer

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 transfer-encoding or Content-length in a request.
0
votes
1 answer

Why Transfer-Encoding request header does not interpret correctly?

Here is the PHP code for pg3.php:

::Welcome to Server1: 172.16.24.150::