Hi everyone,
since I needed one for my own project, I built a class to manage cookies
from http/https requests.
I've never created a component so I'm not sure I'm doing things the right
way but I tried it on a sample program to log-in into a site and it seems to
work.
At the moment it is a
here. IMO a cookie manager is a valuable contribution and has
been requested several times over the past years.
--
Arno Garrels
Daniele Rocchi wrote:
Hi everyone,
since I needed one for my own project, I built a class to manage
cookies from http/https requests.
I've never created
Really?!? It took me 2 hours to find out that StrToDateTime wouldn't
do it and decided to interpret the string myself... and now you tell
me there'a a function for that? :P
I'll correct it as soon as I have time.
Thanks.
Daniele
On 8 April 2011 22:10, Anton S. an...@rambler.ru wrote:
Daniele,
It has happened to me too, I don't know if there's a better way to
deal with it, but all I do is create a timeout timer that is set to
start at the beginning of a get() and to stop at the end of the Get()
request.
If the timer reaches 0 before the Get() is completed I abort the
operation and the
I must say what Arno is talking about I experienced too: the built-in
timeout doesn't work (and I only do sync calls), this is why I created
an external timeout to call the Abort.
If the HttpCli component doesn't recieve anything it hangs forever.
Daniele
On 12 April 2011 09:13, Arno Garrels
I work with Delphi 7 and the Timeout has never worked for me, I don't
know if I was using it incorrectly but I was forced to put an external
timeout because of this.
Daniele
On 12 April 2011 10:05, Arno Garrels arno.garr...@gmx.de wrote:
Daniele Rocchi wrote:
I must say what Arno is talking
Hi all,
I need to convert text that uses special HTML encoding such as amp; or
nbsp; to their corresponding charachter.
Do any of you know if such function exists?
'Cause at the moment I'm thinking of writing it myself but it's gonna take
quite a while...
Daniele
--
To unsubscribe or change
Yes, that's what I found on the internet, but then I couldn't find any
reference in the Delphi help file.
I'll look better, thanks.
Daniele
On 20 April 2011 16:50, RTT p...@sapo.pt wrote:
Delphi HTTPApp unit, function HTMLDecode
Hi all,
I need to convert text that uses special HTML
Ok, I took your example and created a (I suppose) complete encode-decode
unit.
Daniele
*
unit XmlParserUnit;
interface
uses StrUtils, SysUtils;
const
XmlNames : Array[1..240] of String = ('quot;',
The Xml names are there because I started from the example posted by Anton
and I didn't want to create confusion with the existing
HTMLEncode/HTMLDecode function already existing.
Anyway I never though names would be a problem in a non official unit...
The HTTPApp-HTMLDecode function only works
But I was referring to the HTTPApp functions algorithm, not the functions
itself. Allocating the maximum possible result string length at the
beginning, and using pointers, is usually more efficient than all these copy
and concatenation operations you are using in your code.
I know, and I
11 matches
Mail list logo