hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ossf...@dubioso.net>
Subject Re: [jira] Commented: (HTTPCORE-110) refactor message parsing and formatting, step 2
Date Tue, 21 Aug 2007 07:50:11 GMT
Roland Weber wrote:
> I'll change the parsers, including the constructor of BufferedHeader,
> to throw a ProtocolException instead. That will also show up in
> Header.getElements(), which probably affects the cookie code.

I had to give up on that idea. Cookie and Auth create BufferedHeader
from data they generated. It would have been a lot of effort to no avail.
I've defined an unchecked ParseException instead, so that it is no
longer necessary to map InvalidArgumentException to ProtocolException
when the check in BufferedHeader.<cons> is actually relevant. The
parser code for header values doesn't check for parse errors anyway.

cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Mime
View raw message