This should work for all four cases in SWF; proxied: POST/GET and solo:
POST/GET, but I need to make a change to make this really work properly for
proxied DHTML requests.

In DHTML, between the browser and the LPS server,  this will be sending all
the proxy args up to the server in the url query string instead of in the
post body, which will hence  theoretically have of a limit of 4k chars or
whatever it is. I'll send an updated changeset tomorrow for that.





On Jan 22, 2008 11:29 PM, Henry Minsky <[EMAIL PROTECTED]> wrote:

> Change 20080122-hqm-a by [EMAIL PROTECTED] on 2008-01-22 23:21:29 EST
>     in /cygdrive/c/users/hqm/openlaszlo/wafflecone
>     for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone
>
> Summary:  preserve url query string with post data requests
>
> New Features:
>
> Bugs Fixed: LPP-5368
>
> Technical Reviewer: pkang
> QA Reviewer: ptw
> Doc Reviewer:
>
> Documentation:
>
> The URL which is specified as the 'src' attribute of a dataset, such as
>
> <dataset  src="http://foo.bar.com/baz.php?myarg=1"; />
>
> will be preserved in POST operations, both SOLO and proxied.
>
> All data which is set via the
>
> setQueryString
> setQueryParam
> setQueryParams
>
> will be stored in a distinct table, and will only be merged with the src
> url
> in the case of a GET request.
>
> For POST requests, the src full URL with its original query string will be
> sent,
> and all other param data will be sent www-form-encoded in the POST body.
>
>
> Note: raw post data via the "lzpostbody" arg turns out not to work in SOLO
> mode,
> and has never actually fully worked.
>
>
> Release Notes:
>
> Details:
>
>
> Tests:
>
> test/lfc/data/alldata.lzx
>
> amazon
> calendar proxied/solo
>
>
> Files:
> M      test/lfc/data/testsetheaders.lzx
> M      test/lfc/data/testsetheaders-solo.lzx
> M      test/lfc/data/alldata.lzx
> M      WEB-INF/lps/lfc/kernel/swf/LzLoadQueue.as
> M      WEB-INF/lps/lfc/kernel/swf/LzHTTPLoader.as
> M      WEB-INF/lps/lfc/data/LzHTTPDataProvider.lzs
> M      WEB-INF/lps/lfc/data/LzDataset.lzs
> M      WEB-INF/lps/lfc/data/LzParam.lzs
> M      WEB-INF/lps/server/src/org/openlaszlo/data/HTTPDataSource.java
>
>
>
>
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080122-hqm-a.tar
>
>
> --
> Henry Minsky
> Software Architect
> [EMAIL PROTECTED]
>
>


-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to