FragmentResource must also accept text/plain, since that's what the server
is sending.