Ano, HTTP má i hlavičky :-)
V Zend Frameworku v Controlleru potom staci:
if ($this->_request->isXmlHttpRequest()) { … }