[Gambas-user] Gambas built-in server dont accept gzip encoding (Gambas 3.17.2 and fedora 35)

Matias De lellis mati86dl at gmail.com
Fri Jun 3 16:01:22 CEST 2022


Hi all,
It's been a long time since I noticed this, but I'm coming back now because
I want to make a project with gb.web.gui.

Step to reproduce.
1. Generate any project with gb.web.gui (os gb.web.form),
2. Enable the buit-in http server.
3. Run the project on Firefox (I don't know if it's relevant, because I
don't have another browser installed to test).

What do I hope to see?
The gb.web.form example with the correct styles

What I see?
The app is partially working but it doesn't look good.

Well,
After a very little investigation with the browser inspector, I notice that
the downloaded css is empty, and playing with the terminal I notice that
the only parameter that bothers is gzip

How to test?

> [matias at bangho-mdl ~]$ curl 'http://localhost:8080/style:0.0.1.css' -H
> 'Accept-Encoding: gzip, deflate, br'
> [matias at bangho-mdl ~]$ curl 'http://localhost:8080/style:0.0.1.css' -H
> 'Accept-Encoding: deflate, br'
> HTML, BODY {
>   margin: 0;
>   padding: 0;
>   height: 100%;
>   width: 100%;
>   font-family: sans-serif;
> }
> ......
>

I don't know if I can contribute anything else but I hope to help.
Regards,
Matias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220603/997107db/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Captura de pantalla 2022-06-03 - 10.48.41.png
Type: image/png
Size: 25393 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220603/997107db/attachment-0001.png>


More information about the User mailing list