Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-09-08 22:02:50 +02:00
Use the correct content-type header (#2527)
Dieser Commit ist enthalten in:
Ursprung
206368b777
Commit
317af7ebc5
@ -80,7 +80,7 @@ public class DumpSubCmd extends ViaSubCommand {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
con.setRequestProperty("Content-Type", "text/plain");
|
con.setRequestProperty("Content-Type", "application/json");
|
||||||
con.addRequestProperty("User-Agent", "ViaVersion/" + version.getPluginVersion());
|
con.addRequestProperty("User-Agent", "ViaVersion/" + version.getPluginVersion());
|
||||||
con.setRequestMethod("POST");
|
con.setRequestMethod("POST");
|
||||||
con.setDoOutput(true);
|
con.setDoOutput(true);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren