Mercurial Hosting > luan
diff 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 |
line wrap: on
line diff
--- a/src/luan/modules/http/jetty/Http.luan Thu Feb 08 22:00:45 2018 -0700 +++ b/src/luan/modules/http/jetty/Http.luan Sun Feb 11 02:34:35 2018 -0700 @@ -19,6 +19,8 @@ local Http = {} +Http.version = "jetty" + local function sent_error(_,_,_) error "headers are not accessible after you start writing content" end