Fix parsing requests without query string