From 02851070f955fc3e384304287aeed84770adde99 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Sat, 13 Feb 2016 22:13:08 -0500 Subject: [PATCH] lib/nitcorn: do not include `proxy` with nitcorn by default (it requires curl) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- lib/nitcorn/examples/src/nitcorn_reverse_proxy.nit | 4 ++-- lib/nitcorn/nitcorn.nit | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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 -- 1.7.9.5