Search code examples
delphidelphi-7

How can I send HTTP requests without using Indy or WinINet?


I'm looking for lightweight alternatives to IdHTTP for HTTP requests. Preferably ones that don't use WinINet. I need to send a request to a website I own (so I can configure any settings that may be required).


Solution

  • For maximum amount of control and least anount of overhead, just use the WinSock API directly and send your own HTTP requests manually. Read RFC 2616 for details about the HTTP protocol.