FYIW, there is already an httpserver with the jdk
  
http://hg.openjdk.java.net/jdk9/jdk9/jdk/file/tip/src/jdk.httpserver/share/classes/com/sun/net/httpserver/package-info.java

cheers,
Rémi

----- Mail original -----
> De: "Daniel Sun" <realblue...@hotmail.com>
> À: d...@groovy.incubator.apache.org
> Envoyé: Dimanche 11 Décembre 2016 09:02:23
> Objet: About SimpleHTTPServer

> 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).
> 
>      FYI: https://docs.python.org/2/library/simplehttpserver.html
> 
> Cheers,
> Daniel.Sun
> 
> 
> 
> --
> View this message in context:
> http://groovy.329449.n5.nabble.com/About-SimpleHTTPServer-tp5737191.html
> Sent from the Groovy Dev mailing list archive at Nabble.com.

Reply via email to