Mercurial Hosting > luan
comparison src/luan/modules/http/tools/Dump_mod.luan @ 1136:d30d400fd43d
add http/jetty
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 29 Jan 2018 17:50:49 -0700 |
parents | bae2d0c2576c |
children | 3bf5190b3c77 |
comparison
equal
deleted
inserted
replaced
1135:707a5d874f3e | 1136:d30d400fd43d |
---|---|
2 local pairs = Luan.pairs | 2 local pairs = Luan.pairs |
3 local ipairs = Luan.ipairs | 3 local ipairs = Luan.ipairs |
4 local Io = require "luan:Io.luan" | 4 local Io = require "luan:Io.luan" |
5 local Http = require "luan:http/Http.luan" | 5 local Http = require "luan:http/Http.luan" |
6 java() | 6 java() |
7 local HttpServicer = require "java:luan.modules.http.HttpServicer" | 7 local Implementation = require "luan:http/Implementation.luan" |
8 local HttpServicer = require(Implementation.java.."HttpServicer") | |
8 | 9 |
9 local Dump_mod = {} | 10 local Dump_mod = {} |
10 | 11 |
11 local to_http_header_name = HttpServicer.toHttpHeaderName | 12 local to_http_header_name = HttpServicer.toHttpHeaderName |
12 Dump_mod.to_http_header_name = to_http_header_name | 13 Dump_mod.to_http_header_name = to_http_header_name |