FAQ
https://codereview.appspot.com/6900055/diff/18001/oauth/oauth.go
File oauth/oauth.go (right):

https://codereview.appspot.com/6900055/diff/18001/oauth/oauth.go#newcode296
oauth/oauth.go:296: content :=
strings.Split(r.Header.Get("Content-Type"), ";")[0]
What about using the ParseMediaType function from "net/mime" package
here?

https://codereview.appspot.com/6900055/

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedDec 15, '12 at 2:36a
activeDec 15, '12 at 8:21a
posts4
users2
websitegolang.org

2 users in discussion

Surma: 2 posts Nightlyone: 2 posts

People

Translate

site design / logo © 2022 Grokbase