esi-test-server-docker icon indicating copy to clipboard operation
esi-test-server-docker copied to clipboard

insert space among headers when loading external domain fragment.

Open ufaria opened this issue 5 years ago • 0 comments

i'm using version 6.0.0.9 and when trying to include an external domain fragment, the mod_esi are including extra spaces among http headers.

when the fragment is from local domain it works correctly.

i could see it using tcpdump. The spaces among headers are inserted by mod_esi. ... 12:43:05.702149 IP 3.4.5.6.37920 > 6.7.8.9.80: tcp 1684 GET /testurl.html HTTP/1.1 Host: www.someexternaldomain.com

Via: 4.0 asi_server

X-Akamai-ClientIP: 1.2.3.4

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8

Accept-Language: es-ES,es;q=0.8,en-US;q=0.5,en;q=0.3

Cache-Control: no-cache

Cookie: cookie_uuid=a0f2e991-6992-412c-8b08-5656c8056aed

User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0

DNT: 1

HTTPS: On

X-Forwarded-Proto: TLSv1/SSLv3

pragma: akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-extracted-values, akamai-x-get-nonces, akamai-x-get-ssl-client-session-id, akamai-x-get-true-cache-key, akamai-x-serial-no, akamai-x-get-request-id, akamai-x-request-trace, akamai-x--meta-trace, akama-xi-get-extracted-values, no-cache

Upgrade-Insecure-Requests: 1

Connection: keep-alive

X-Akamai-MD-Component3: edgeservices:modify-outgoing-requestonAccepttext/plain</edgeservices:modify-outgoing-request>edgeservices:modify-outgoing-requestonAccept</edgeservices:modify-outgoing-request> ....

this is the esi fragment on html page:

<esi:eval src="https://www.someexternaldomain.com/testurl.html" dca="none" maxwait="1000" setheader="Accept:text/plain" />

ufaria avatar Sep 13 '19 11:09 ufaria