Alf Kristian Støyle
2017-05-18 06:32:37 UTC
Hi!
We are using aleph behind a varnish cache (https://varnish-cache.org/)
which is an extremly fast and reliable cache. But it is also somewhat
annoying at times :)
Right now we've encountered a problem where we are service http 204, that
is, we are actually proxying something serving a 204. There is no content
here, but aleph puts on a Transfer-Encoding header regardless. I suspect it
is since we are actually returning a manifold, and we have a fully async
stack.
Is there any way to instruct aleph not to add transfer-encoding here? I
could always set up a separate "synchronous" endpoint, but it seems
overkill... Also kind of think this is a minor bug. I would be happy to
provide a PR, if you'd like this change, and point me in the right
direction.
Best regards,
Alf
We are using aleph behind a varnish cache (https://varnish-cache.org/)
which is an extremly fast and reliable cache. But it is also somewhat
annoying at times :)
Right now we've encountered a problem where we are service http 204, that
is, we are actually proxying something serving a 204. There is no content
here, but aleph puts on a Transfer-Encoding header regardless. I suspect it
is since we are actually returning a manifold, and we have a fully async
stack.
Is there any way to instruct aleph not to add transfer-encoding here? I
could always set up a separate "synchronous" endpoint, but it seems
overkill... Also kind of think this is a minor bug. I would be happy to
provide a PR, if you'd like this change, and point me in the right
direction.
Best regards,
Alf
--
You received this message because you are subscribed to the Google Groups "Aleph" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aleph-lib+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Aleph" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aleph-lib+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.