Proceeding only if expecting a 100-Continue response.
This commit is contained in:
parent
bf47119109
commit
64a8811a5b
|
@ -334,6 +334,9 @@ public abstract class HttpSender implements AsyncContentProvider.Listener
|
|||
|
||||
public void proceed(HttpExchange exchange, boolean proceed)
|
||||
{
|
||||
if (!expects100Continue(exchange.getRequest()))
|
||||
return;
|
||||
|
||||
if (proceed)
|
||||
{
|
||||
while (true)
|
||||
|
|
Loading…
Reference in New Issue