reworked http response workflow