groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien Le Callonnec <sebast...@weblogism.com>
Subject Re: About SimpleHTTPServer
Date Sun, 11 Dec 2016 09:38:10 GMT
Hi Daniel,


On 2016-12-11 08:02:23, Daniel Sun wrote:
> Hi all,
>
>       Does Groovy provide any function like Python's SimpleHTTPServer(e.g.
> python -m SimpleHTTPServer 8000)?  If no similar module exits, I'd like to
> implement one via Groovy 3(e.g. groovy -m SimpleHTTPServer 8000).

As a separate library, this would indeed be a nice feature to have – but
as a core Groovy feature, I am bit more wary that this would cause bloat
and bring in potential vulnerabilities that users don't necessarily want
to worry about in production apps.


Regards,
Sébastien.

Mime
View raw message