Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-07-11 17:58:03 +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;
|
||||
}
|
||||
try {
|
||||
con.setRequestProperty("Content-Type", "text/plain");
|
||||
con.setRequestProperty("Content-Type", "application/json");
|
||||
con.addRequestProperty("User-Agent", "ViaVersion/" + version.getPluginVersion());
|
||||
con.setRequestMethod("POST");
|
||||
con.setDoOutput(true);
|
||||
|
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren