Nino connector:
- fixed issue related to `ready_for_reading' now use the `try_...' variant - for now Nino does not support persistent connection, then we have to respond with "Connection: close" REQUEST_FILE_SYSTEM_HANDLER: - added not_found_handler and access_denied_handler, so that the user can customize related response WSF_REQUEST and WSF_VALUE: - modified how uploaded file are handled, fixed various issues, and added WSF_UPLOADED_FILE (it is a WSF_VALUE) WSF_VALUE: - added change_name (a_name: like name) - added url_encoded_name to other WSF_values WSF_REQUEST: - added `destroy' to perform end of request cleaning (such as deleting temp uploaded files) - renamed `raw_post_data_recorded' as `raw_input_data_recorded', and related feature - do not store the RAW_POST_DATA in meta variable anymore, but in WSF_REQUEST.raw_input_data is asked Added WSF_HTML_PAGE_RESPONSE to help user WSF_REPONSE.redirect_... now use "temp_redirect" as default instead of "moved_permanently" which is specific usage Removed many obsolete features.
This commit is contained in:
BIN
examples/upload_image/htdocs/ewf.jpg
Normal file
BIN
examples/upload_image/htdocs/ewf.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
BIN
examples/upload_image/htdocs/favicon.ico
Normal file
BIN
examples/upload_image/htdocs/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.9 KiB |
0
examples/upload_image/htdocs/files/do_not_remove
Normal file
0
examples/upload_image/htdocs/files/do_not_remove
Normal file
10
examples/upload_image/htdocs/index.html
Normal file
10
examples/upload_image/htdocs/index.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>EWF: demo upload image file</title>
|
||||
<link rel="stylesheet" href="style.css" type="text/css" media="all" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>EWF: demo upload image file</h1>
|
||||
<a href="upload">Click for the demo</a>
|
||||
</body>
|
||||
</html>
|
||||
4
examples/upload_image/htdocs/style.css
Normal file
4
examples/upload_image/htdocs/style.css
Normal file
@@ -0,0 +1,4 @@
|
||||
h1 { border: solid 1px #00f; margin: 5px; padding: 5px; background-color: #009; color: #fff; margin: 10px;}
|
||||
form { border: solid 1px #999; margin: 20px; padding: 10px;}
|
||||
img { width: 60%; }
|
||||
img.hover { width: 100%; }
|
||||
Reference in New Issue
Block a user