Mercurial Hosting > luan
comparison src/luan/modules/Boot.luan @ 1755:78cedcd6e1a4
revert
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 04 Feb 2023 23:24:03 -0700 |
parents | d179810c6148 |
children | a5f62fe28b3e |
comparison
equal
deleted
inserted
replaced
1754:d179810c6148 | 1755:78cedcd6e1a4 |
---|---|
159 function this.get_response_message() | 159 function this.get_response_message() |
160 check() | 160 check() |
161 return io.httpCon.getResponseMessage() | 161 return io.httpCon.getResponseMessage() |
162 end | 162 end |
163 | 163 |
164 function this.get_content_type() | |
165 check() | |
166 return io.httpCon.getContentType() | |
167 end | |
168 | |
169 return this | 164 return this |
170 end | 165 end |
171 | 166 |
172 local function url(path,options) | 167 local function url(path,options) |
173 return new_LuanUrl( LuanUrl.new(URL.new(path),options) ) | 168 return new_LuanUrl( LuanUrl.new(URL.new(path),options) ) |