Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
server: move out some code from http_handler.go #10071
What problem does this PR solve?
Move out some code out of the HTTP handler. So that it can be used if we construct a mem table stores the same thing.
What is changed and how it works?
Code movement and add new unit test.