Tutorial: Form upload in vibe.d

Sönke Ludwig via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Dec 7 16:44:19 PST 2016


Am 06.12.2016 um 23:28 schrieb aberba:
> https://aberba.github.io/2016/form-upload-in-vibe-d/

Nice article, I'll add this to the tutorials section [1]. Two additional 
suggestions:

- It's probably a good idea to mention that 
HTTPServerSettings.maxRequestSize is 2 MiB by default and should be 
increased if larger files are expected

- The last snippet with "static this()" (using "shared static this" 
would be better to avoid issues in multi-threaded applications) doesn't 
contain the /upload route, but it's probably better to have it either 
there or later within the text, as it may not be obvious how to register 
that exactly

[1]: https://vibed.org/tutorials


More information about the Digitalmars-d-announce mailing list