|
Ran
|
Files
305
|
Run time
3min
|
Badge
README BADGES
|
push
travis-ci
httpc: allow only strings for opts.headers values There are two reasons to disable support of tables with __tostring metamethods as opts.headers values: * It seems this feature is not much needed: a type convertion can be easily done on a user's end with explicit tostring() call if needed. * It never did work since introduction in 2.1.1-311-g85e1d78bc ('httpc: add checking of headers in httpc:request'): __tostring presence was verified, but a function in the field was not invoked. Now http client accepts only a Lua string as a header key or a value. Closes #3679 (again). (cherry picked from commit 28e688294)
41577 of 50420 relevant lines covered (82.46%)
838137.73 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|