www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - gzip and vibe.d

reply Atwork <afaw fwafaf.com> writes:
Is it possible to have vibe.d gzip responses?

I cannot find anything in the documentation about it.

I am not talking about gzipping ex. files/streams but ALL 
responses as a whole.

Is there a configuration or something I need to set for it to be 
supported?
May 20 2020
next sibling parent Daniel Kozak <kozzi11 gmail.com> writes:
https://vibed.org/api/vibe.http.server/HTTPServerSettings.useCompressionIfPossible

On Wed, May 20, 2020 at 9:45 AM Atwork via Digitalmars-d-learn
<digitalmars-d-learn puremagic.com> wrote:
 Is it possible to have vibe.d gzip responses?

 I cannot find anything in the documentation about it.

 I am not talking about gzipping ex. files/streams but ALL
 responses as a whole.

 Is there a configuration or something I need to set for it to be
 supported?
May 20 2020
prev sibling parent reply Daniel Kozak <kozzi11 gmail.com> writes:
On Wed, May 20, 2020 at 9:45 AM Atwork via Digitalmars-d-learn
<digitalmars-d-learn puremagic.com> wrote:
 Is it possible to have vibe.d gzip responses?

 I cannot find anything in the documentation about it.

 I am not talking about gzipping ex. files/streams but ALL
 responses as a whole.

 Is there a configuration or something I need to set for it to be
 supported?
https://vibed.org/api/vibe.http.server/HTTPServerSettings.useCompressionIfPossible
May 20 2020
parent Atwork <fwafwa fwfafa.com> writes:
On Wednesday, 20 May 2020 at 07:49:28 UTC, Daniel Kozak wrote:
 On Wed, May 20, 2020 at 9:45 AM Atwork via Digitalmars-d-learn 
 <digitalmars-d-learn puremagic.com> wrote:
 Is it possible to have vibe.d gzip responses?

 I cannot find anything in the documentation about it.

 I am not talking about gzipping ex. files/streams but ALL 
 responses as a whole.

 Is there a configuration or something I need to set for it to 
 be supported?
https://vibed.org/api/vibe.http.server/HTTPServerSettings.useCompressionIfPossible
Thank you!
May 20 2020