🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: sending xml using TIdHTTP

#551
From: Hamid
Date: Sat, 18 Mar 2006 16:22
4 lines
1709 bytes
At first thank you for your response. 

When I use the Post method (Regardless which overloaded method I'm using) it passes the xml content to the server successfully. But the problem arises when I try to parse the received message with a xml parser. The content contains some special characters. For example the first line : <?xml version="1.0" encoding="utf-8"?>. Now I do not know if I use an Encoding / Decoding before and after passing the content to the server? If yes, which encoding method I should use? The URLEncode method encodes only the texts that have the special form of a URL, not a content. Maybe I should pass a proper MetaClass object to the function, but I do not know which?
Technical Details
Message-ID: <441c41ec$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <441519b5$1@newsgroups.borland.com> <44152ae8$1@newsgroups.borland.com> <4415306d$1@newsgroups.borland.com> <4415e49d$1@newsgroups.borland.com> <4417bf88$1@newsgroups.borland.com> <441856a5$3@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,8fda7960f12a26ec
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Hamid" <hrz_mir@Yahoo.com>
Sender: "Hamid" <hrz_mir@Yahoo.com>
Reply-To: "Hamid" <hrz_mir@Yahoo.com>
Subject: Re: sending xml using TIdHTTP
Newsgroups: borland.public.cppbuilder.internet.web
X-User-Info: 81.12.74.19     
References: <441519b5$1@newsgroups.borland.com> <44152ae8$1@newsgroups.borland.com> <4415306d$1@newsgroups.borland.com> <4415e49d$1@newsgroups.borland.com> <4417bf88$1@newsgroups.borland.com> <441856a5$3@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <441c41ec$1@newsgroups.borland.com>
Date: 18 Mar 2006 09:22:52 -0700
X-Trace: newsgroups.borland.com 1142702572 207.105.83.66 (18 Mar 2006 09:22:52 -0700)
Lines: 6
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail