Very much unworking approach toward middleware-ization of httpquery