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.

Reply via email to