Open GoogleCodeExporter opened 8 years ago
Yes, it's currently just for the demo, lots of things are missing for the
Response as well (like... everything).
At the moment it looks unlikely things will stay based on classes RTTI, because
that's too fragile (triggering AVs or leaks with RTTI-exposed Delphi classes is
far too easy). So RTTI was used as a shortcut, but isn't considered useful for
production.
Also a lot of the content encoding (like multipart) will have to be implemented
or better reused from other library. Originally I used Delphi's HttpApp, but it
is ante-diluvian and vulnerable to malformed queries.
Original comment by zar...@gmail.com
on 29 Nov 2012 at 2:21
Attached is a patch that allows the server project to correctly handle all 3
types of params. It uses Indy's decoding, which is compatible with the
server's licensing.
It also introduces the concept of attachments, but does not provide a script
interface to them, because attachments can be arbitrary binary data and are
best represented as streams, but DWS does not have a TStream type available.
This code is a rough draft. Feel free to refine it as necessary.
Original comment by masonwhe...@gmail.com
on 26 Jan 2013 at 6:02
Attachments:
Is MIT compatible with MPL? Looks like a lot like something I made for xxm as
well:
http://sourceforge.net/p/xxm/code/HEAD/tree/trunk/Delphi/common/xxmParams.pas#l1
59
Original comment by stijnsan...@gmail.com
on 28 Feb 2013 at 8:16
Original comment by zar...@gmail.com
on 11 Jun 2013 at 7:21
Original issue reported on code.google.com by
masonwhe...@gmail.com
on 29 Nov 2012 at 1:12