The check for request.HasFormContentType when trying to get cookies from the request should not be there as the Form content has no bearing on a request containing cookies or not. It looks like this was copied over from the original implementation.
I've also added a message to the cookies list if this method fails in line with the other methods in this class.
The check for
request.HasFormContentType
when trying to get cookies from the request should not be there as the Form content has no bearing on a request containing cookies or not. It looks like this was copied over from the original implementation.I've also added a message to the cookies list if this method fails in line with the other methods in this class.