Closed onevcat closed 3 years ago
guard let body = body in matchesBody prevents us from verifying the case a nil body is sent, but the request desires some data in the HTTP body.
guard let body = body
matchesBody
nil
As described in the test too.
Thanks for the contribution! That makes sense – thanks for also adding a test! 🎉
guard let body = body
inmatchesBody
prevents us from verifying the case anil
body is sent, but the request desires some data in the HTTP body.As described in the test too.