arturobernalg commented on PR #456: URL: https://github.com/apache/httpcomponents-client/pull/456#issuecomment-1596269768
> @arturobernalg What happens when you get `Age: 123crap` header? > > It is great that you are trying to make your code efficient but in this case it is getting a bit too complex. Please use the support methods from `CacheSupport` I just added, parser the header into a sequence of tokens, take the first token and try to convert into an int. > @arturobernalg What happens when you get `Age: 123crap` header? > > It is great that you are trying to make your code efficient but in this case it is getting a bit too complex. Please use the support methods from `CacheSupport` I just added, parser the header into a sequence of tokens, take the first token and try to convert into an int. wait. I dint see this comment./. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org