Skip to content

Instantly share code, notes, and snippets.

@faisal-w
Created May 7, 2014 06:10
Show Gist options
  • Save faisal-w/9615364033a0cf4a5e1e to your computer and use it in GitHub Desktop.
Save faisal-w/9615364033a0cf4a5e1e to your computer and use it in GitHub Desktop.
HTML Upload form for Tornado upload example.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Tornado Upload Application</title>
</head>
<body>
<p><h1>Tornado Upload App</h1></p>
<form enctype="multipart/form-data" action="/upload" method="post">
File: <input type="file" name="file1" />
<br />
<br />
<input type="submit" value="upload" />
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment