support query string also in HTTP mode