swifter
swifter copied to clipboard
Tiny http server engine written in Swift programming language.
I am trying to share file from URL path. App select images from photos convert them to pdf file, then store them on URL path with method: `try? pdfDocument.write(to: self.pdfFilePath!)`...
Hello, Any plans for adding CORS support (so that it is possible to make web calls to the iOS app from javascript in a modern browser [without disabling the same-origin...
When using Swifter for unit tests, it would be nice to be able to reset all routes in `tearDown()`. Occasionally a request will fail with error `The network connection was...
Routing behavior for variable paths has changed in 1.4.7 compared to 1.4.6. The variable path can no longer match multiple sub-paths. For example, I have this route: `"/foo/bar/:path"` I expect...
I'm currently trying to fix an issue where overwriting the handler for `GET/path/to/*` does not give the correct result. While fixing that bug I have encountered issues because I am...
Symptom: On some iOS devices i get a HTTP 200 as if everything is ok when sharing a directory, but an empty response is returned. Digging deeper i found that...
In the WebSocket API for html, they have a bufferedCount property that we can use to determine if we should send more messages or if we should wait. My app...
Is there currently not a way to respond with JSON for 201 & 500 responses? I'm mocking a Rails server that does respond to those statuses with content.
Is there a way that the framework can feed data, bit by bit, back instead of returning the entire response at once? I'm using this framework to speed up the...
I used to be able to browse the root path of directoryBrowser, but now I can't. If I access "http://localhost:8080/files/images" it works, but if I try to access "http://localhost:8080/files" it...