We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d664ba9 commit d063ad4Copy full SHA for d063ad4
appengine-plugins-core/src/main/java/com/google/cloud/tools/appengine/operations/DevServer.java
@@ -205,7 +205,8 @@ public void stop(StopConfiguration configuration) throws AppEngineException {
205
connection.setDoOutput(true);
206
connection.setDoInput(true);
207
connection.setRequestMethod("POST");
208
- connection.getOutputStream().write('\n');
+ connection.setRequestProperty("Content-Length", "0");
209
+ connection.getOutputStream().close();
210
connection.disconnect();
211
int responseCode = connection.getResponseCode();
212
if (responseCode < 200 || responseCode > 299) {
0 commit comments