Robust Location header detection for transactions.