Changeset 11167
- Timestamp:
- 08/26/08 22:18:36 (10 months ago)
- Files:
-
- branches/1.2/lib/request/sfWebRequest.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.2/lib/request/sfWebRequest.class.php
r10627 r11167 645 645 646 646 // skip if no acceptable content types or browsers 647 if (isset($acceptableContentTypes[0]) && 'text/xml' != $acceptableContentTypes[0])647 if (isset($acceptableContentTypes[0]) && ('text/xml' != $acceptableContentTypes[0] && 'application/xml' != $acceptableContentTypes[0])) 648 648 { 649 649 $this->setRequestFormat($this->getFormat($acceptableContentTypes[0]));

