Indy problem?
"Clayton Aguiar" <[email protected]>
| Newsgroups | gmane.comp.lang.delphi.programming |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Sorry for the cross-post, but I think I found a problem with Indy.
Please do your comments (testing before answering, please):
- Drop a HTTP client onto a form
- Rename it to "http"
- Drop a button, and double-click it to write the OnClick event:
Var
fs: TFileStream;
Begin
fs :== TFileStream.Create('c:\chami.txt', fmWrite);
http.Get('http://www.chami.com/tips/delphi', fs);
fs.Free;
End;
When I do this, the chami.txt has the following content:
<html><body></body></html>
But if I open the same page in the browser, the content is very
different.
I tried the following:
- Added a Cookie Manager and set Cookie Support to True
- Increased the buffer sizes
- Changed the MaxLineOverflow (or something like that) from Exception to
Split
Nothing worked.
Any hints?
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/sO0ANB/LIdGAA/ySSFAA/i7folB/TM
---------------------------------------------------------------------~->
CodeCoffer - new Delphi code protection Tool!
http://www.delphicollection.com/public/CodeCoffer.htm
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
---------------------------------------------------------------
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/