0.9: Fix error when Accept header doesn't exist in request

Fixes most tests that are failing after #579