comparison src/luan/modules/http/Http.luan @ 1179:f9136432847e

add request.raw_head
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 14 Feb 2018 16:41:36 -0700
parents 794ddcfbee20
children d5d5d29d7592
comparison
equal deleted inserted replaced
1178:49cf706c326a 1179:f9136432847e
35 this.headers = {} 35 this.headers = {}
36 this.parameters = {} 36 this.parameters = {}
37 this.cookies = {} 37 this.cookies = {}
38 else 38 else
39 this.java = java 39 this.java = java
40 this.raw_head = java.rawHead or error()
40 this.method = java.method or error() 41 this.method = java.method or error()
41 this.raw_path = java.rawPath or error() 42 this.raw_path = java.rawPath or error()
42 this.path = java.path or error() 43 this.path = java.path or error()
43 this.protocol = java.protocol or error() 44 this.protocol = java.protocol or error()
44 this.headers = JavaLuan.toLuan(java.headers) 45 this.headers = JavaLuan.toLuan(java.headers)