Article View: borland.public.cppbuilder.internet.socket
Article #3682Re: Indy POST-ing Empty Parameters?
From: Nicolae Fieraru
Date: Sat, 16 Jul 2005 03:34
Date: Sat, 16 Jul 2005 03:34
30 lines
1614 bytes
1614 bytes
> Please show your actual code, and the actual data that both Indy and IE
> are
> sending.
Hi Remy,
Thank you very much for your support. The question I had was only related
with posting the empty variables, and your advice, to use
ParamData->Add("MyVariable=");
worked as expected.
Best wishes,
Nicolae
> Assigning an empty string to a TStrings class via the Values[] property
> removes that value from the list. That is a Borland idiom, not an Indy
> one.
> If you need to send blank values, then you need to use the Add() or
> Insert()
> method instead of Values[], ie:
>
> ParamData->Add("MyVariable=");
>
>
> Gambit
>
>
Technical Details
Message-ID:
<42d88060@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42d7f15e@newsgroups.borland.com> <42d801d4$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,2b66bcbcc4059b07 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Nicolae Fieraru" <nospam@please.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <42d7f15e@newsgroups.borland.com> <42d801d4$1@newsgroups.borland.com> Subject: Re: Indy POST-ing Empty Parameters? Date: Sat, 16 Jul 2005 13:34:55 +1000 Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 150.101.121.67 Message-ID: <42d88060@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1121484896 150.101.121.67 (15 Jul 2005 20:34:56 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail