Mercurial Hosting > luan
comparison src/luan/modules/http/jetty/Http.luan @ 1170:3a0f58d09ee7
add use_jetty
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 11 Feb 2018 02:34:35 -0700 |
parents | 4beabb087be6 |
children |
comparison
equal
deleted
inserted
replaced
1169:96e7b49ce013 | 1170:3a0f58d09ee7 |
---|---|
16 local HttpServicer = require "java:luan.modules.http.jetty.HttpServicer" | 16 local HttpServicer = require "java:luan.modules.http.jetty.HttpServicer" |
17 local IoLuan = require "java:luan.modules.IoLuan" | 17 local IoLuan = require "java:luan.modules.IoLuan" |
18 | 18 |
19 | 19 |
20 local Http = {} | 20 local Http = {} |
21 | |
22 Http.version = "jetty" | |
21 | 23 |
22 local function sent_error(_,_,_) | 24 local function sent_error(_,_,_) |
23 error "headers are not accessible after you start writing content" | 25 error "headers are not accessible after you start writing content" |
24 end | 26 end |
25 | 27 |