Change raju-20120303-OAD by raju@titan on 2012-03-03 01:22:52 CET
   in /home/raju/src/svn/openlaszlo/work/WEB-INF/lps/lfc
   for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc

Summary: Use correct case-sensitivity for HTTP header field 'Content-Type'

New Features: Header field name is 'Content-Type' instead of 'content-type'

Bugs Fixed: LPP-10150

Technical Reviewer: [email protected],[email protected]
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:
Documentation doesn't need to be updated.

Release Notes:

Overview:
In LzHTTPLoader.js, when setting a default value for the Content-Type
HTTP header field with POST requests, the HTTP header field didn't use
upper-case correctly.

Details:
In the DHTML runtime, setting a custom value for the HTTP header field
'Content-Type' caused the browser to add an
extra"application/x-www-form-urlencoded" string to the 'Content-Type'
header field, resulting in "application/x-www-form-urlencoded;
charset=UTF-8 application/x-www-form-urlencoded" for that field.

Tests:
Compile the LZX file attached to the JIRA issue, and make sure that
the HTTP Content-Type header field has the value
'Content-Type:application/www-form-urlencoded; charset=UTF-8'
when sending the request.

Files:
M       WEB-INF/lps/lfc/kernel/dhtml/LzHTTPLoader.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/raju-20120303-OAD.tar

Reply via email to