adding HTTPResult to debug_layer