cjoudrey / gluahttp

gluahttp: an http module for gopher-lua
MIT License
59 stars 23 forks source link

Fix "string expected, got string" error #11

Closed erikdubbelboer closed 8 years ago

erikdubbelboer commented 8 years ago

*string is different than just string. Buildin functions expect normal strings. Right now using body with a function that expects a string, such as gsub, results in: bad argument #1 to gsub (string expected, got string).

cjoudrey commented 8 years ago

Makes sense. :+1:

Thanks 😀