Re: gzip and vibe.d

2020-05-20 Thread Atwork via Digitalmars-d-learn

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 
 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!


Re: gzip and vibe.d

2020-05-20 Thread Daniel Kozak via Digitalmars-d-learn
On Wed, May 20, 2020 at 9:45 AM Atwork via Digitalmars-d-learn
 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


Re: gzip and vibe.d

2020-05-20 Thread Daniel Kozak via Digitalmars-d-learn
https://vibed.org/api/vibe.http.server/HTTPServerSettings.useCompressionIfPossible

On Wed, May 20, 2020 at 9:45 AM Atwork via Digitalmars-d-learn
 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?


gzip and vibe.d

2020-05-20 Thread Atwork via Digitalmars-d-learn

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?