Moved defs from http_request to http_transactions