http: remove trailing space.