A/F mixture , a sensor in the headpipe vs. a tailpipe sniffer?

I'm think a sensor in the headpipe will give accurate readings vs. one in the tailpipe?