hoisie/web.go — Issue #88: Error running web.go/examples/multipart.go
Author: StefanScott
Created: 2011-10-23 03:50:09+00:00
State: open

I am able to compile and execute the example ~/web.go/examples/multipart.go, but after clicking 'Submit' on the form in the browser, it only displays the filename and MD5 of the selected file - the items 'input1' and 'input2' on the screen shown in the browser after POST /multipart are blank.

The following output is produced in the console (showing three 3 tries):

```
~/web.go/examples$ ./multipart
2011/10/23 06:36:09 web.go serving 0.0.0.0:8080
2011/10/23 06:36:42 GET /
2011/10/23 06:36:43 GET /favicon.ico
2011/10/23 06:37:27 POST /multipart
2011/10/23 06:37:28 Failed to parse form data "EOF"
2011/10/23 06:37:28 GET /favicon.ico
2011/10/23 06:37:34 GET /favicon.ico
2011/10/23 06:37:37 GET /
2011/10/23 06:37:37 GET /favicon.ico
2011/10/23 06:37:57 POST /multipart
2011/10/23 06:37:57 Failed to parse form data "EOF"
2011/10/23 06:37:57 GET /favicon.ico
2011/10/23 06:38:14 GET /favicon.ico
2011/10/23 06:41:08 POST /multipart
2011/10/23 06:41:08 Failed to parse form data "EOF"
2011/10/23 06:41:08 GET /favicon.ico
2011/10/23 06:41:11 GET /favicon.ico
```