🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1122

TIdHTTP - 400 Bad Request

#1122
From: Willie
Date: Tue, 10 May 2005 11:11
18 lines
1230 bytes
Hi all:

I use Indy component TIdHTTP in a for loop, and it got the error "400 Bad
Request".

for(int i=0; i<100; i++)
{
   IdHTTP->Post(...);
}

when the i=0, it worked fine.
when the i>=1, it got error.

How can I solve this problem?

Thank you very much.

Willie.
Technical Details
Message-ID: <42809429@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!txtfeed1.tudelft.nl!130.161.131.117.MISMATCH!tudelft.nl!txtfeed2.tudelft.nl!newsfeed.multikabel.nl!gatel-ffm!gatel-ffm!news-out.newsgroups.com!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: feeec,9a81f826d1d9e99b,start
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Willie" <Willie.nospam@nospam.pchome.com.tw>
Newsgroups: borland.public.cppbuilder.internet.web
Subject: TIdHTTP - 400 Bad Request
Date: Tue, 10 May 2005 19:11:29 +0800
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
NNTP-Posting-Host: 202.3.172.70
Message-ID: <42809429@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115722793 202.3.172.70 (10 May 2005 03:59:53 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!txtfeed1.tudelft.nl!130.161.131.117.MISMATCH!tudelft.nl!txtfeed2.tudelft.nl!newsfeed.multikabel.nl!gatel-ffm!gatel-ffm!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail