comparison http/src/luan/modules/http/Http.luan @ 732:d7371dc8c2e7

add Http.request.port
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 12 Jun 2016 23:05:31 -0600
parents ca169567ce07
children
comparison
equal deleted inserted replaced
731:c92b3fabf92a 732:d7371dc8c2e7
61 this = new_common(this) 61 this = new_common(this)
62 this.method = "GET" -- default 62 this.method = "GET" -- default
63 -- this.path 63 -- this.path
64 -- this.protocol 64 -- this.protocol
65 this.scheme = "http" -- default 65 this.scheme = "http" -- default
66 this.port = 80 -- default
66 this.parameters = {} 67 this.parameters = {}
67 this.parameter = {__plural=this.parameters} 68 this.parameter = {__plural=this.parameters}
68 set_metatable(this.parameter,singular_metatable) 69 set_metatable(this.parameter,singular_metatable)
69 this.cookie = {} 70 this.cookie = {}
70 71