We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b92fd3 commit 3010b3eCopy full SHA for 3010b3e
src/main/java/com/ning/http/util/AsyncHttpProviderUtils.java
@@ -418,7 +418,7 @@ public static Cookie parseCookie(String value) {
418
// favor 'max-age' field over 'expires'
419
if (!maxAgeSet && "max-age".equalsIgnoreCase(f[0])) {
420
try {
421
- maxAge = Integer.valueOf(f[1]);
+ maxAge = Integer.valueOf(removeQuote(f[1]));
422
}
423
catch (NumberFormatException e1) {
424
// ignore failure to parse -> treat as session cookie
0 commit comments