Fix handling of bodiless requests