Mercurial Hosting > luan
comparison src/luan/modules/http/Http.luan @ 1315:5763597ca5c0
add DomainHandler
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 30 Jan 2019 01:21:49 -0700 |
parents | 781ec0a92bb5 |
children | 643cf1c37723 |
comparison
equal
deleted
inserted
replaced
1314:51a1987b55a3 | 1315:5763597ca5c0 |
---|---|
170 logger[call](err.."\n"..trim(java_request.rawHead).."\n") | 170 logger[call](err.."\n"..trim(java_request.rawHead).."\n") |
171 local msg = "Internel Server Error\n\n"..err | 171 local msg = "Internel Server Error\n\n"..err |
172 return Response.errorResponse( Status.INTERNAL_SERVER_ERROR, msg ) | 172 return Response.errorResponse( Status.INTERNAL_SERVER_ERROR, msg ) |
173 end | 173 end |
174 | 174 |
175 Http.domain = nil -- set in domain specific cases | |
176 | |
175 return Http | 177 return Http |