revert no content state

This commit is contained in:
Greg Wilkins 2011-11-09 20:28:59 +11:00
parent 6a266e34c8
commit c272c13cbf
1 changed files with 1 additions and 1 deletions

View File

@ -642,8 +642,8 @@ public class HttpParser implements Parser
break;
case HttpTokens.NO_CONTENT:
_state=_persistent||(_responseStatus>=100&&_responseStatus<200)?STATE_END:STATE_SEEKING_EOF;
_handler.headerComplete();
_state=_persistent||(_responseStatus>=100&&_responseStatus<200)?STATE_END:STATE_SEEKING_EOF;
_handler.messageComplete(_contentPosition);
break;