SWC-570: pages returned are always html