Vote UpVote

Delphi code of the day…

The Wiert Corner – I was debugging an issue where a Delphi SOAP implementation was shoe-horned into an Indy server and came across the [WayBack] TWebRequest.UpdateMethodType Method. The further you get down the if/then/else tree, the more often the indexed property Method is accessed, same for the conversion/comparison code. property Method: string index 0 read GetStringVariable; So if the HTTP method is POST (very common), then the calls are being made 3 times: procedure TWebRequest.UpdateMethodType; begin {$IFDEF NEXTGEN} if Method = 'GET' then { do not localize } FMethodType := mtGet else if ...
Favorite? Off-Topic? jpluimers @ 2017-09-12 07:04


Visits: 7363
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)