aboutsummaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src/github.com
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-05-14 18:29:41 +0800
committerFelix Lange <fjl@twurst.com>2015-05-14 18:29:41 +0800
commite7c7b54b82e76f9da6caa44504486b28a662751d (patch)
tree96cb76e07775fa4a51f64c8df64842a3f04dd9b2 /Godeps/_workspace/src/github.com
parent663d4e0aff4cad98a9c5b17de18b2385a5874f6c (diff)
downloadgo-tangerine-e7c7b54b82e76f9da6caa44504486b28a662751d.tar.gz
go-tangerine-e7c7b54b82e76f9da6caa44504486b28a662751d.tar.zst
go-tangerine-e7c7b54b82e76f9da6caa44504486b28a662751d.zip
Godeps: bump github.com/huin/goupnp to c57ae84
Diffstat (limited to 'Godeps/_workspace/src/github.com')
-rw-r--r--Godeps/_workspace/src/github.com/huin/goupnp/goupnp.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/Godeps/_workspace/src/github.com/huin/goupnp/goupnp.go b/Godeps/_workspace/src/github.com/huin/goupnp/goupnp.go
index 120b92444..8cd20c2f4 100644
--- a/Godeps/_workspace/src/github.com/huin/goupnp/goupnp.go
+++ b/Godeps/_workspace/src/github.com/huin/goupnp/goupnp.go
@@ -20,6 +20,8 @@ import (
"net/http"
"net/url"
+ "golang.org/x/net/html/charset"
+
"github.com/huin/goupnp/httpu"
"github.com/huin/goupnp/ssdp"
)
@@ -104,6 +106,7 @@ func requestXml(url string, defaultSpace string, doc interface{}) error {
decoder := xml.NewDecoder(resp.Body)
decoder.DefaultSpace = defaultSpace
+ decoder.CharsetReader = charset.NewReaderLabel
return decoder.Decode(doc)
}