Fixed issue with incorrect NO_CONTENT reason phrase

closes #341