fix($http): do not add trailing question

Closes #6342