Perfect-HTTPServer
Perfect-HTTPServer copied to clipboard
HTTP server for Perfect.
when I run perfect server on Mac OS , LaunchFailure(message: "Server localhost:8181 - 1:Operation not permitted /Users/xxx/Library/Developer/Xcode/DerivedData/KubeWorkbench-amuiunavyuuwkvbhlqolywapxtmf/SourcePackages/checkouts/Perfect-Net/Sources/PerfectNet/Net.swift bind(port:address:) 273", configuration: PerfectHTTPServer.HTTPServer.Server(name: "localhost", port: 8181, address: "::", routes: PerfectHTTP.Routes(routes: [PerfectHTTP.Route(methods: [GET],...
PerfectLib is ported to Swift 5 but this one is not. I can compile with a bunch of warnings. Apparently 100% of the warnings are related to unsafe pointers. Do...
support in ios?
Here is my code static func signIn(request: HTTPRequest, resp: HTTPResponse) { var pwd = request.param(name: "pwd") var email = request.param(name: "email") defer { resp.completed() } guard pwd != nil &&...
When a HTTPResponse contains multiple headers, it is not possible to write a response filter that re-writes those headers, as `HTTPResponse.header(_ named: HTTPResponseHeader.Name) -> String?` only exposes the first instance...
We're seeing an issue with Perfect-HTTP 3.1.6 where the Content-Length header is set incorrectly for some limited amount of responses (generated using response.setBody() ). In each case the reported content...