DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42098>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42098

           Summary: Use specified encoding for parameter values in HTTP GET
           Product: JMeter
           Version: 2.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: HTTP
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Currently, the HTTP Samplers always url encode the parameter values using the
UTF-8 encoding when a HTTP GET request is made. This is according to the HTTP
specification.

But most, if not all browsers, do not follow the specification when urlencoding
for HTTP GET request. Most browsers use the encoding of the page where the form
was present, or uses the value of the "accept-charset" attribute for the <form>
html tag.

Since the HTTP Request GUI currently has a field "Content encoding", which is
used in HTTP POST request to encode the URL for HTTP Post according to the
specified encoding, I would like to suggest the same functionality for HTTP GET.

This means that if the user has filled in a value in "Content encoding", and is
doing a HTTP GET, then the specified encoding will be used to encode the
parameter values, if encoding checkbox is on. Only the parameter value will be
encoded with this encoding, the parameter name will always be encoded using 
UTF-8.
If the user has not specified a value for "Content encoding", then "UTF-8" will
be used, which is like it is today.

I think this patch makes it possible to let Jmeter behave more like other 
browsers.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to