Inoussa,
I've created ns_http_protocol.pas for use with iOS and Free Pascal
2.5.1+, using Foundation classes instead of the FPC, Indy or Synapse
clients, which I couldn't get to work reliably on iOS.
Here's the file for WST:
http://web.me.com/macpgmr/ObjP/Xcode4/ns_http_protocol.pas
I tested this on both an actual iOS device and under the iOS
Simulator, and against two different Web services - it appears to work
fine.
Note that the TNSCookieManager class is just a dummy placeholder for
now since I'm not sure how it is used in WST or how it should be
implemented on iOS, but the services I've tested apparently don't need
it.
Thanks.
-Phil