wiki explanation: HTTP 404 or Not Found error message is one of the "standard response messages" (HTTP status codes) of HTTP, which means that the server cannot provide information properly when the client is browsing the web, or the server cannot respond and does not know why. The error message may be confused with "server not found" (the server cannot be found) or other similar information.
If thequery is empty, it is not a query failure, so it should return 200?