debug httpserver callback