lib/nitcorn: do not include `proxy` with nitcorn by default (it requires curl)
authorAlexis Laferrière <alexis.laf@xymus.net>
Sun, 14 Feb 2016 03:13:08 +0000 (22:13 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Mon, 15 Feb 2016 17:07:03 +0000 (12:07 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/nitcorn/examples/src/nitcorn_reverse_proxy.nit
lib/nitcorn/nitcorn.nit

index 13d9c81..19e02fb 100644 (file)
@@ -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")
index ff54508..2a5b43a 100644 (file)
@@ -61,4 +61,3 @@ module nitcorn
 import reactor
 import file_server
 import sessions
-import proxy