Skip to content

Encoding of the RequestParams #406

Closed
@janoliver

Description

@janoliver

Hi, RequestParams use UTF-8 to encode the params:

private HttpEntity createFormEntity() {
    try {
        return new UrlEncodedFormEntity(getParamsList(), HTTP.UTF_8);
    } catch (UnsupportedEncodingException e) {
        return null; // Actually cannot happen when using utf-8
    }
}

I need my data to have a different encoding when sent to the server. Could you allow for a custom encoding in the Params?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions