What steps will reproduce the problem?
1.Have an expires value for cookie header in ISO 8601 date format.
2. Http headers suggest only three date formats and ISO is not among them.
3. I don't have a problem parsing response with other clients like jersey
What is the expected output? What do you see instead?
Expected Output: Parse response fine and get back status code of 200 ok
Actual Output: com.jayway.restassured.internal.http.ResponseParseException: OK
What version of the product are you using? On what operating system?
com.jayway.restassured : 2.3.4
OS: windows 7
Stack Trace:
com.jayway.restassured.internal.http.ResponseParseException: OK
at org.apache.http.impl.cookie.DateUtils.parseDate(DateUtils.java:118)
at org.apache.http.impl.cookie.DateUtils.parseDate(DateUtils.java:79)
at org.apache.http.impl.cookie.DateUtils$parseDate.call(Unknown Source)
at com.jayway.restassured.assertion.CookieMatcher.setCookieProperty(CookieMatcher.groovy:117)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:368)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
Original issue reported on code.google.com by ashw.re...@gmail.com on 2 Jun 2015 at 4:25
Original issue reported on code.google.com by
ashw.re...@gmail.com
on 2 Jun 2015 at 4:25