🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #3679

Indy POST-ing Empty Parameters?

#3679
From: Nicolae Fieraru
Date: Fri, 15 Jul 2005 17:24
20 lines
1428 bytes
Hi All,

I try to post data on a web site, and for some reason the server reject my 
post (internal server error 500). I used a sniffer and I can compare the 
data sent by Internet Explorer and I notice it contains some empty 
variables.

I tried to send the variables from Indy like this:

ParamData->Values->["MyVariable"] = "";

but Indy actually doesn't send "MyVariable" at all if it sees it is empty. 
Is there a way of "convincing" Indy to send it anyway?

I use Indy 9.0.17, if that matters.

Any response appreciated.

Regards,
Nicolae 
Technical Details
Message-ID: <42d7f15e@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-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,2b66bcbcc4059b07,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Nicolae Fieraru" <nospam@please.com>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Indy POST-ing Empty Parameters?
Date: Sat, 16 Jul 2005 03:24:45 +1000
Lines: 22
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: <42d7f15e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1121448286 150.101.121.67 (15 Jul 2005 10:24:46 -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