You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Factory method that parses the value of the supplied "Set-Cookie" header.
* @param setCookieHeader the "Set-Cookie" value; never {@code null} or empty
* @return the created cookie
Based on the Javadoc, I think it should throw Set-Cookie header must not be null or empty instead of Invalid Set-Cookie header '' when setCookieHeader is empty.
Activity
Polish MockCookieTests
Update `MockCookie#parse(String)` validation to align with Javadoc
sbrannen commentedon Aug 18, 2026
This has been reinstated in
mainin b20d31a and 04e5c92.Thanks