Re: IdHTTP (Indy 9) now adding %20 in my text?

Giganews Newsgroups
Subject: Re: IdHTTP (Indy 9) now adding %20 in my text?
Posted by:  Dave (ashlar…@yahoo.com)
Date: Wed, 11 Oct 2006

Hmmm I found the bug....

if I use
IdHTTP_Web1->Post(Http_Loc, s1);  // s1 is a TStringList

the above code seems to add extra characters to the text that is sent to the server.....

But if you use the below line of code...

IdHTTP_Web1->Post(Http_Loc, stream1);  // stream1 is a TStringStream

This code won't add any of those odd characters.

It appears other people have had similar issues as well

http://dev-forums.ebay.com/thread.jspa?threadID=100003643&start=30&tstart=0

Replies

In response to

IdHTTP (Indy 9) now adding %20 in my text? posted by Dave on Wed, 11 Oct 2006