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]

Reply via email to