Tim Condon
Tim Condon
Nothing really blocking at the moment, workaround is either read `$HOME` or just use the `FileManager` API
@Sherlouk this is parity of an existing functionality, but #3205 is still being tracked for the Vapor 5 release. Realistically this will fall outside of Vapor when #3376 is implemented...
I don't actually think this is the right approach as it could have unintended consequences for other decoders. Especially JSON - that should fail without a body. I think this...
@sidepelican I did and my point still stands. This needs to be fixed at the FormDataDeocder level, not in the request body
This would be a major break, removing automatic error handling and unprocessible responses in existing code. What we probably need to do is have a look up one decoders to...
@sidepelican Where did you hit this bug? Because I'm trying to dig through the URI/HTTP spec to ensure that no body is actually valid (as opposed to an empty body)
Ok I see what you mean. I think right now, especially Vapor 4, this probably just falls underneath unsupported behaviour. The spec isn't very clear about whether no body is...
@tikiram Yep feel free to submit a PR to add support!
Do you have Xcode installed?
This is probably an issue for the Swiftly folks