3 ms·
i looked up a sample code for single file upload, tweaking it to handle corner cases; however, there's a cgi library for that shrug ... better, simpler but as
by hs 18y ago
i looked up a sample code for single file upload, tweaking it to handle corner cases; however, there's a cgi library for that shrug ... better, simpler
but as a bonus, i now know http request better :D ... extending the cgi library, for example, uploading multiple files in one http request
library also has another use, for testing
for example, i got stuck char used as separator/ending in netstring, used in lighttpd's scgi
i looked at python scgi library source code, saw the output scgi variables etc, then readjust my porting code
but i strongly agree that building something from scratch is tremendously rewarding ... no matter how crappy it's - there's a beauty only u got the priviledge to enjoy ... FUN!