How to disable range requests? #145
-
UPDATE: The header they are sending looks like UPDATE 2: |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
As far as I understood, It would be useful some tracing logs of SWS requests and responses. |
Beta Was this translation helpful? Give feedback.
-
I ran into a similar issue where LinkedIn does not show any previews for my blog posts. They have this debug site where you can check the previews: https://www.linkedin.com/post-inspector (but it needs a login). I tracked down the request in my Traefik logs, and the problem is this header: static-web-server returns curl -o - -I 'http://localhost/blog/oracle-apex-text-messages/' \
-H 'Range: bytes=0-3145727'
HTTP/1.1 416 Range Not Satisfiable
content-range: bytes */62519
vary: accept-encoding
cache-control: public, max-age=86400
date: Thu, 06 Jul 2023 11:27:03 GMT This is the trace of static-web-server:
Looking at MDN the Range header desc the request seems to be right as it matches I validated this error against a local instance without Traefik. I pulled the latest Docker image, so I guess I am using v2.19.0. |
Beta Was this translation helpful? Give feedback.
-
Those particular issues were because SWS is strict when it comes to |
Beta Was this translation helpful? Give feedback.
-
Just to summarize. Closing for now. If you have questions or experience other issues please feel free to create another discussion. |
Beta Was this translation helpful? Give feedback.
Those particular issues were because SWS is strict when it comes to
rage-end
exceeding the max length of a file as reported by #295. So sinceRage
requests out of bounds is a common behavior, SWS will support it soon. See #306.