Commit f871be670b96fa4165c21051b752aa16a6defd72

Authored by zhouhaihai
1 parent a5486ede

返回值要是字符串

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/services/httpweb.lua
... ... @@ -82,7 +82,7 @@ local function start()
82 82 if not content then
83 83 code = 404
84 84 end
85   - response(id, code, content)
  85 + response(id, code, tostring(content))
86 86 end
87 87 else
88 88 if url == sockethelper.socket_error then
... ...