🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: IdHTTP Get exception

#1102
From: Keith
Date: Fri, 06 May 2005 01:40
35 lines
1661 bytes
Tracing the IdHTTP.pas file, I see this:

in procedure TIdCustomHTTP.DoRequest(const AMethod: TIdHTTPMethod; AURL:
string;
:
:
FHTTPProto.RetrieveHeaders;

and that traces into

procedure TIdHTTPProtocol.RetrieveHeaders;
:
:
 Response.ProcessHeaders;

and that traces into file IdHTTPHeaderInfo.pas

procedure TIdResponseHeaderInfo.ProcessHeaders;
:
:
  inherited ProcessHeaders;

and that traces into

procedure TIdEntityHeaderInfo.ProcessHeaders;
:
:
      FExpires := GMTToLocalDateTime(Values['Expires']); {do not localize}

and this line --^ causes the exception (after the call
Idheaderlist::TIdHeaderList::GetValue, there is a call to
Idglobal::GMTToLocalDateTime  Idglobal::GMTToLocalDateTime causes the actual
exception)

keith
Technical Details
Message-ID: <427ACB20.CF6B836E@sbcglobal.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <427AB1E6.60A6005E@sbcglobal.net> <427ab842$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,b8c33a2643ef426e
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Message-ID: <427ACB20.CF6B836E@sbcglobal.net>
Date: Thu, 05 May 2005 20:40:48 -0500
From: Keith <kdopson@sbcglobal.net>
X-Mailer: Mozilla 4.79 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.web
Subject: Re: IdHTTP Get exception
References: <427AB1E6.60A6005E@sbcglobal.net> <427ab842$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 65.71.227.85
X-Trace: newsgroups.borland.com 1115343424 65.71.227.85 (5 May 2005 18:37:04 -0700)
Lines: 37
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail