Files
EWF/examples/simple_file
Jocelyn Fiat b93cb17f7c Added readme files to the examples.
Minor changes in various ecf file and code.
Moved filter example under _update_needed since it has obsolete code.
2017-02-14 11:21:32 +01:00
..
2017-02-14 11:21:32 +01:00
2016-10-25 15:22:18 +02:00
2016-10-25 15:22:18 +02:00

File response example

This demonstrates how to return a file to the client. In this example you will learn how to dispatch manually the URL thanks to the request.path_info value. You will also learn how to use the WSF_RESPONSE.send (message) interface that does not require you to know that much about http protocol since you will build WSF_FILE_RESPONSE and WSF_NOT_FOUND_MESSAGE objects.