Since the parseaccept is called from within the negotiation there is really no good way to feed it a properly parsed accept so i just reimplemented it myself and to make sure the parameters are matched.
Coverage remained the same at 94.643% when pulling 40c8d84e7b04932e3bcf1e0a6799ef7a7661c91d on jdamick:master into 1ab9d32f24c5442e77abc245ff3f5898afda99e7 on go-ozzo:master.
The content type negotiation in gddo doesnt properly respect parameters. It only looks for "q" and if it finds other params it doesn't properly parse the accept header.. see: https://github.com/golang/gddo/blob/master/httputil/header/header.go#L185
Since the parseaccept is called from within the negotiation there is really no good way to feed it a properly parsed accept so i just reimplemented it myself and to make sure the parameters are matched.
You can add back the old call to see the failure.