diff options
Diffstat (limited to 'Sources/Helpers.swift')
-rw-r--r-- | Sources/Helpers.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Sources/Helpers.swift b/Sources/Helpers.swift index 8481347..caf841b 100644 --- a/Sources/Helpers.swift +++ b/Sources/Helpers.swift @@ -3,7 +3,7 @@ import Foundation let versionString = "generated and served by swift-gopher/1.0.0" // TODO: Handle automatic versioning func buildVersionStringResponse() -> String { - let repeatedString = "i" + String(repeating: "-", count: 80) + "\terror.host\t1\r\n" - let versionResponseString = "i" + String(repeating: " ", count: 80 - versionString.count) + versionString + "\terror.host\t1\r\n" + let repeatedString = "i" + String(repeating: "-", count: 80) + "\t\terror.host\t1\r\n" + let versionResponseString = "i" + String(repeating: " ", count: 80 - versionString.count) + versionString + "\t\terror.host\t1\r\n" return "\(repeatedString)\(versionResponseString)" }
\ No newline at end of file |