优化http出错抛出更详细的错误信息 (#1900)

* 优化http出错抛出更详细的错误信息

* 优化http err_info写法
This commit is contained in:
华仔
2024-04-10 13:40:41 +08:00
committed by GitHub
parent 1d47bfa0b6
commit 22df64244a
4 changed files with 42 additions and 8 deletions

View File

@@ -2,6 +2,11 @@ local internal = require "http.internal"
local string = string
local type = type
local assert = assert
local tonumber = tonumber
local pcall = pcall
local ipairs = ipairs
local pairs = pairs
local httpd = {}