`parseRequest` feels to me like it should be returning something not simply having side-effects.