Pylons/pyramid_zcml — pull request #5 by huubbouma (2012-11-27 19:28:00+00:00)
Title: fix xhr predicate in view configuration

Fix xhr predicate behavour, so it does as it is specified in the documentation:

"If xhr is not specified, the HTTP_X_REQUESTED_WITH HTTP header is not taken into consideration when deciding whether or not to invoke the associated view callable."

See also the discussion here:
https://github.com/Pylons/pyramid/issues/729