alcjzk / Webserv

0 stars 0 forks source link

Initial file uploads implementation #66

Closed alcjzk closed 4 months ago

alcjzk commented 4 months ago

Main changes

Upload semantics

A route of type upload can now be set in the config. Routes with this type will forward POST requests to the upload handler if the target uri is a directory. Files are uploaded to the target directory and can be accessed via GET. A basic example can be found by navigating to http://localhost:8080/uploads with the default config.

Not in this PR