equal
deleted
inserted
replaced
30 import java.util.concurrent.Executor; |
30 import java.util.concurrent.Executor; |
31 import java.util.function.Function; |
31 import java.util.function.Function; |
32 import java.net.http.HttpResponse; |
32 import java.net.http.HttpResponse; |
33 import jdk.internal.net.http.common.Logger; |
33 import jdk.internal.net.http.common.Logger; |
34 import jdk.internal.net.http.common.MinimalFuture; |
34 import jdk.internal.net.http.common.MinimalFuture; |
|
35 import jdk.internal.net.http.common.Utils; |
35 import static java.net.http.HttpClient.Version.HTTP_1_1; |
36 import static java.net.http.HttpClient.Version.HTTP_1_1; |
36 import jdk.internal.net.http.common.Utils; |
|
37 |
37 |
38 /** |
38 /** |
39 * Splits request so that headers and body can be sent separately with optional |
39 * Splits request so that headers and body can be sent separately with optional |
40 * (multiple) responses in between (e.g. 100 Continue). Also request and |
40 * (multiple) responses in between (e.g. 100 Continue). Also request and |
41 * response always sent/received in different calls. |
41 * response always sent/received in different calls. |