Python Print Request Response Cycle