Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use tables to deal with huge responses. #21
Instead of accumulating the response in a string, use a table. This reduces the chances of "out of memory" errors when testing endpoints that produces huge amounts of data.
It also changes the call to
I don't know enough (or rather, anything) about wsapi to be able to make the call about those patches. The other one I just merged was something quite obvious about coxpcall compatibility so it seemed a no-brainer... I'm shying away from merging patches that I have no real idea about. If anyone else using wsapi (or who knows about it) would like to chime in to run an additional pair of eyes over the patches, that would be great, but if you tell me there's no compatibility concerns with these tweaks, I'll take your word. :) (TBH I don't know who is maintaining wsapi nowadays!)