You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
local h = ""
for i, v in pairs(nreqt.headers) do
-- fix cookie is a table value
if type(v) == "table" and i == "cookie" then
v = table.concat(v, "; ")
end
h = i .. ": " .. v .. "\r\n" .. h
end
h = i .. ": " .. v .. "\r\n" .. h 如果headers比较多是否会有性能问题,为什么不考虑使用table.concat?
The text was updated successfully, but these errors were encountered:
local h = ""
for i, v in pairs(nreqt.headers) do
-- fix cookie is a table value
if type(v) == "table" and i == "cookie" then
v = table.concat(v, "; ")
end
h = i .. ": " .. v .. "\r\n" .. h
end
h = i .. ": " .. v .. "\r\n" .. h 如果headers比较多是否会有性能问题,为什么不考虑使用table.concat?
The text was updated successfully, but these errors were encountered: