Simon Whitty
Simon Whitty
Thanks for the great feedback @ConsoleTVs. HTTP/2 is not on the roadmap yet. Mostly because of the [lack of TLS support](https://github.com/swhitty/FlyingFox/issues/34) and most clients negotiate HTTP/2 in the TLS handshake....
Thanks for reporting this @Azilla030 May I ask which target are you trying to build? The `SwiftDraw` library or the `swiftdraw` command line executable? Which version of a code are...
Have you copy and pasted the code into your app? It looks like the `SwiftDraw` module does not exist. The best way to integrate with an existing app is to...
Currently not as [`HTTPRequest`](https://github.com/swhitty/FlyingFox/blob/main/FlyingFox/Sources/HTTPRequest.swift) includes `var body: Data` so it requires the body to exist completely within memory. I suppose we could change that so the body is represented as...
How are you uploading these images? Posting the file as the HTTP body? `% curl --data '@' http://server/upload` Or within `multipart/form-data` `% curl -F 'payload=@' http://server/upload` We could probably support...
OK great this should post the file as a the HTTP body like; `% curl --data '@' http://server/upload` I have had a look at supporting this and it does mean...
Version [0.11.0](https://github.com/swhitty/FlyingFox/releases/tag/0.11.0) adds support for very large request and responses. Requests now include a `bodySequence: HTTPBodySequence` which allows the request body to be iterated in small chunks as they arrive:...
Are you uploading as `multipart/form-data` ? `% curl -F 'payload=@' http://server/upload` FlyingFox currently does not include a parser for bodies in this format: ``` Content-Type: multipart/form-data; boundary=---WebKitFormBoundary7MA4YWxkTrZu0gW -----WebKitFormBoundary7MA4YWxkTrZu0gW Content-Disposition: form-data;...
Thank you for the suggestion 🙏🏻. I also use extensions similar to these in my own projects. As you have illustrated the difficulty is in choosing appropriate defaults for things...
Hi @gotev I've been thinking a lot about your suggestion think there is a nice declarative solution [SE-0389 Attached Macros](https://github.com/apple/swift-evolution/blob/main/proposals/0389-attached-macros.md) available in Swift 5.9 and later. I'm interested in your...