diff src/luan/modules/http/impl/Http.luan @ 1162:e2d2354807f3

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 06 Feb 2018 21:25:55 -0700
parents 6baccd0c85a7
children fef8f0742da9
line wrap: on
line diff
--- a/src/luan/modules/http/impl/Http.luan	Mon Feb 05 22:59:52 2018 -0700
+++ b/src/luan/modules/http/impl/Http.luan	Tue Feb 06 21:25:55 2018 -0700
@@ -25,14 +25,12 @@
 	local this = {}
 	Http.request = this
 	if java == nil then
-		this.port = 80
 		this.method = "GET"
 		this.headers = {}
 		this.parameters = {}
 		this.cookies = {}
 	else
 		this.java = java
-		this.port = java.port or error()
 		this.method = java.method or error()
 		this.raw_path = java.rawPath or error()
 		this.path = java.path or error()