Change "Content-Length" to HeaderNames.CONTENT_LENGTH.