What is the maximum URL length you can pass to the Wininet function, HttpOpenRequest?
I would suggest less than 2000 characters., but this KB article suggests Internet Explorer has a limit of 2083, which may well apply to your case too.