diff --git a/Info.plist b/Info.plist index 21f1c4f..a8897da 100644 --- a/Info.plist +++ b/Info.plist @@ -19,7 +19,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 2.16 + 2.17 CFBundleVersion 1 LSMinimumSystemVersion diff --git a/src/PingMonitor.swift b/src/PingMonitor.swift index 29efcfe..90556fc 100644 --- a/src/PingMonitor.swift +++ b/src/PingMonitor.swift @@ -163,7 +163,7 @@ public final class PingMonitor { isMeasuring = true var req = URLRequest(url: targetURL) - req.httpMethod = "HEAD" + req.httpMethod = "GET" let t0 = Date() let task = session.dataTask(with: req) { [weak self] _, resp, _ in