refine http request class