ZF2-234: Add isXmlHttpRequest and isFlashRequest to Http\Request

Issue Type: Improvement Created: 2012-03-22T11:19:08.000+0000 Last Updated: 2012-03-24T19:44:38.000+0000 Status: Resolved Fix version(s): Reporter: T├Ánis Tobre (tobre) Assignee: Andries Seutens (andries) Tags: - Zend\Http

Related issues: Attachments:


Need functionality for checking if request is xmlHttpRequest and flash request.

Common cenario:

if ($request->isXmlHttpRequest()) { $viewModel->setTerminal(true); }


Posted by Andries Seutens (andries) on 2012-03-23T19:58:55.000+0000

I created a pull request that contains the feature:

Posted by Andries Seutens (andries) on 2012-03-24T19:44:38.000+0000

Issue was resolved and merged into master:

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.