Article View: borland.public.cppbuilder.internet.socket
Article #3615Re: Posting a XML file with HTTP
From: Jan
Date: Tue, 05 Jul 2005 20:48
Date: Tue, 05 Jul 2005 20:48
38 lines
1862 bytes
1862 bytes
> There is no such error message in Indy, or the VCL in general for that
> matter. Are you sure that the error message isn't actually the
> following instead?
>
> Invalid argument to date encode.
>
> Notice date vs. data.
Yes, sorry, it is DATE
>
> What is the actual class type, not the text message, of the exception
> being thrown?
>
> catch(const Exception &e)
> {
> ShowMessage(e.ClassName());
> }
>
The code don 't execute the catch statement, on the post methode, 0.5
seconds later I get the error.
> If the error is actually an invalid date encoding, then that suggests
> that either:
>
> 1) you did not specify a valid Request->Date, Request->Expires, or
> Request->LastModified value
Gives nothing when I change this values.
>
> 2) the server sent back a Response->Date, Response->Expires, or
> Response->LastModified value that Indy does not understand.
Can it be that it is a aspx page .Net framework ?
I check tomorrow with the network administrator for the settings on the
webserver.
Thanks for the tip and help.
Jan
Technical Details
Message-ID:
<42caf232@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.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:
<42ca6485@newsgroups.borland.com> <42cac53c$3@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,23338d9238b4b121 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Jan" <jan@jlcsoft.com> Subject: Re: Posting a XML file with HTTP Newsgroups: borland.public.cppbuilder.internet.socket References: <42ca6485@newsgroups.borland.com> <42cac53c$3@newsgroups.borland.com> User-Agent: XanaNews/1.17.5.7 NNTP-Posting-Host: 81.164.55.128 Message-ID: <42caf232@newsgroups.borland.com> Date: 5 Jul 2005 13:48:50 -0700 X-Trace: newsgroups.borland.com 1120596530 81.164.55.128 (5 Jul 2005 13:48:50 -0700) Lines: 38 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.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