hoisie/web.go — Issue #92: ParseMediaType now returns 3 values
Author: Phrozen
Created: 2011-11-23 01:34:05+00:00
State: open

I'm using 6g version weekly.2011-10-18 10125

Compile errors:
request.go:198: assignment count mismatch: 2 = 3
request.go:224: assignment count mismatch: 2 = 3

It seems that mime.ParseMediaType() has changed

func ParseMediaType(v string) (mediatype string, params map[string]string, err os.Error)

it now returns 3 values, the last one being err os.Error, i just patched my code ignoring the error, but I hope it will be handled in the future.