私がしようとすると、(100 MBを超える)非常に大きなファイルをダウンロードした場合、私はこのエラーを取得する:akkaのhttpクライアントで最大コンテンツ長を設定する方法は?
You can configure this by setting `akka.http.[server|client].parsing.max-content-length` or calling `HttpEntity.withSizeLimit` before materializing the dataBytes stream.
val responseFuture: Future[HttpResponse] =
Http().singleRequest(HttpRequest(uri = "http://akka.io"))
私は何とかwithoutSizeLimit
にHttpEntityを設定することができることを読んでいた、私はこれをどのように行うことができますか?
akka.http.server.parsing.max-content-length=913753229
akka.http.client.parsing.max-content-length=913753229