Przeglądaj źródła

update voovan version: 4.1.0 (#4577)

* Update pom.xml

* Update VoovanTFB.java
hely ho 6 lat temu
rodzic
commit
cc63a63226

+ 1 - 1
frameworks/Java/voovan/pom.xml

@@ -17,7 +17,7 @@
         <dependency>
             <groupId>org.voovan</groupId>
             <artifactId>voovan-framework</artifactId>
-            <version>4.0.14</version>
+            <version>4.1.0</version>
         </dependency>
     </dependencies>
     <build>

+ 0 - 1
frameworks/Java/voovan/src/main/java/org/voovan/VoovanTFB.java

@@ -38,7 +38,6 @@ public class VoovanTFB {
 		webServer.get("/plaintext", new HttpRouter() {
 			public void process(HttpRequest req, HttpResponse resp) throws Exception {
 				resp.header().put(HttpStatic.CONTENT_TYPE_STRING, "text/plain");
-				resp.header().remove(HttpStatic.CONNECTION_STRING);
 				resp.write(HELLO_WORLD);
 			}
 		});