set content-length header on post requests in order to fix issue #701

This commit is contained in:
Sebastian Sdorra
2015-04-13 13:42:39 +02:00
parent 451490e95a
commit 11c8c1994f
2 changed files with 74 additions and 24 deletions

View File

@@ -78,6 +78,12 @@ public final class HttpUtil
* @since 1.43
*/
public static final String HEADER_LOCATION = "Location";
/**
* content-length header
* @since 1.46
*/
public static final String HEADER_CONTENT_LENGTH = "Content-Length";
/**
* header for identifying the scm-manager client