Calvin Xiao

Results 3 comments of Calvin Xiao

建议检查handle返回的数据是不是buffer,是buffer的话原样返回给用户。这样可以达到直接回复`success`的目的。

~~I think `append` is just an alias of `concat`~~, oh it's mentioned in https://github.com/puma/puma/pull/1980 Benchmark shows the current append implementation is slower in `args = ["Lorem", "ipsum", "dolor", "sit", "amet"]`...

You can prepend an authentication middleware in the docs route. Here is one to go https://github.com/koajs/basic-auth