Merge pull request #918 from RBGKew/reconciliation-http-encoding
Add charset=UTF-8 to HTTP Content-Type for reconciliation queries.
This commit is contained in:
commit
fddaae291b
@ -167,7 +167,7 @@ public class GuessTypesOfColumnCommand extends Command {
|
|||||||
URL url = new URL(serviceUrl);
|
URL url = new URL(serviceUrl);
|
||||||
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
||||||
{
|
{
|
||||||
connection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
|
connection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8");
|
||||||
connection.setConnectTimeout(30000);
|
connection.setConnectTimeout(30000);
|
||||||
connection.setDoOutput(true);
|
connection.setDoOutput(true);
|
||||||
|
|
||||||
|
@ -335,7 +335,7 @@ public class StandardReconConfig extends ReconConfig {
|
|||||||
URL url = new URL(service);
|
URL url = new URL(service);
|
||||||
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
||||||
{
|
{
|
||||||
connection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
|
connection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8");
|
||||||
connection.setConnectTimeout(30000);
|
connection.setConnectTimeout(30000);
|
||||||
connection.setDoOutput(true);
|
connection.setDoOutput(true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user