httpc: verify "headers" option stronger
Added the following checks: * opts.headers is a table. * opts.headers keys are strings. Clarified an error message re Lua type of opts.headers values. Found and fixed a memory leak that appears in http client when invalid opts.headers is passed. Closes #4281 (cherry picked from commit fc355a2c)
Please register or sign in to comment