From e0eb3af3b1dd9b4577a56c682f5689fd5bbc3b35 Mon Sep 17 00:00:00 2001 From: "Howard, Seth" Date: Tue, 31 Oct 2017 11:24:26 -0600 Subject: [PATCH 1/2] Fixes HTTP status codes not recorded when not 200. #74 --- DVR/Interaction.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DVR/Interaction.swift b/DVR/Interaction.swift index 8b67958..b37af0b 100644 --- a/DVR/Interaction.swift +++ b/DVR/Interaction.swift @@ -83,7 +83,7 @@ extension Interaction { var responseDictionary = self.response.dictionary - if let httpResponse = response as? HTTPURLResponse { + if let httpResponse = response as? Foundation.HTTPURLResponse { responseDictionary["headers"] = httpResponse.allHeaderFields responseDictionary["status"] = httpResponse.statusCode } From 7feedc9aa41a6c81dc7af7745a54c15c27c3e18a Mon Sep 17 00:00:00 2001 From: "Howard, Seth" Date: Wed, 1 Nov 2017 14:24:50 -0600 Subject: [PATCH 2/2] updating travis osx_image to 9 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f36edf0..89a2dfd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: objective-c # lol -osx_image: xcode8.2 +osx_image: xcode9.1 xcode_project: DVR.xcodeproj script: xcodebuild -scheme "$TRAVIS_XCODE_SCHEME" -sdk "$TRAVIS_XCODE_SDK" -destination "$DESTINATION" test