Response trimmed when behind reverse proxy

Created on 4 September 2024, 5 months ago
Updated 18 September 2024, 4 months ago

Problem/Motivation

Tailwind JIT manipulates Drupal's response: It injects the styles in the header of the response content. When the request is behind a reverse proxy, the response content might be prematurely cut off / trimmed by the string length of the injected styles.

Proposed resolution

Explicitly set the "Content-Lengh" HTTP header.

🐛 Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

🇦🇹Austria hudri Austria

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024