1
0

2 Коммиты 3f1b906df7 ... 41eae58e56

Автор SHA1 Сообщение Дата
  221V 41eae58e56 rm diet-ng - part 2 1 неделя назад
  221V 3f1b906df7 rm diet-ng - part 2 1 неделя назад
2 измененных файлов с 18 добавлено и 3 удалено
  1. 16 2
      README.md
  2. 2 1
      vtest/source/vibe/http/server.d

+ 16 - 2
README.md

@@ -3,8 +3,22 @@
 ```
 // vibe-d 0.10.2
 
-// "diet-ng" is an optional dependency of vibe.d that is chosen by default - to avoid that, remove the "diet-ng" entry from dub.selections.json.
-// https://github.com/vibe-d/vibe.d/blob/master/CHANGELOG.md
+
+// rm diet-ng 1.8.4 in vibe-http 1.2.2 -- https://github.com/221V/vibe-http/tree/rm_diet
+"vibe-d": "~>0.9",
+"mustache-d": "~>0.1.5"
+->
+"vibe-http": "~>1.2.2",
+"vibe-stream": "~>1.1.1",
+"mustache-d": "~>0.1.5"
+->
+"vibe-inet:crypto": "~>1.1.2",
+"vibe-inet": "~>1.1.2",
+"vibe-stream:tls": "~>1.1.1",
+"vibe-stream": "~>1.1.1",
+"vibe-inet:textfilter": "~>1.1.2",
+"mustache-d": "~>0.1.5"
+
 
 
 sudo apt-get install libevent-dev

+ 2 - 1
vtest/source/vibe/http/server.d

@@ -260,7 +260,7 @@ void handleHTTPConnection(TCPConnection connection, HTTPServerContext context)
 	logTrace("Done handling connection.");
 }
 
-
+/+
 /**
 	Provides a HTTP request handler that responds with a static Diet template.
 */
@@ -270,6 +270,7 @@ void handleHTTPConnection(TCPConnection connection, HTTPServerContext context)
 		res.render!(template_file, req);
 	};
 }
++/
 
 /**
 	Provides a HTTP request handler that responds with a static redirection to the specified URL.