Proceeding only if expecting a 100-Continue response.

This commit is contained in:
Simone Bordet 2013-07-15 10:55:50 +02:00
parent bf47119109
commit 64a8811a5b
1 changed files with 3 additions and 0 deletions

View File

@ -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)