From: Alexis Laferrière Date: Sun, 14 Feb 2016 03:13:08 +0000 (-0500) Subject: lib/nitcorn: do not include `proxy` with nitcorn by default (it requires curl) X-Git-Url: http://nitlanguage.org lib/nitcorn: do not include `proxy` with nitcorn by default (it requires curl) Signed-off-by: Alexis Laferrière --- diff --git a/lib/nitcorn/examples/src/nitcorn_reverse_proxy.nit b/lib/nitcorn/examples/src/nitcorn_reverse_proxy.nit index 13d9c81..19e02fb 100644 --- a/lib/nitcorn/examples/src/nitcorn_reverse_proxy.nit +++ b/lib/nitcorn/examples/src/nitcorn_reverse_proxy.nit @@ -14,9 +14,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -# This is a simple example of how to use a ProxyAction with Nitcorn +# Minimal example using a `ProxyAction` -import nitcorn +import nitcorn::proxy # Create the virtualhost for your nitcorn server var vh = new VirtualHost("localhost:8080") diff --git a/lib/nitcorn/nitcorn.nit b/lib/nitcorn/nitcorn.nit index ff54508..2a5b43a 100644 --- a/lib/nitcorn/nitcorn.nit +++ b/lib/nitcorn/nitcorn.nit @@ -61,4 +61,3 @@ module nitcorn import reactor import file_server import sessions -import proxy