| 1 |
Last-Update: 2016-03-23 |
| 2 |
Forwarded: https://github.com/onlyjob/goproxy/commit/dbed72b03ab40d06c1a8e4ed4227540e4af08700 |
| 3 |
Bug-Upstream: https://github.com/elazarl/goproxy/issues/134 |
| 4 |
Author: Dmitry Smirnov <[email protected]> |
| 5 |
Description: update go-charset namespace. |
| 6 |
|
| 7 |
--- a/ext/html/html.go |
| 8 |
+++ b/ext/html/html.go |
| 9 |
@@ -9,10 +9,10 @@ |
| 10 |
"net/http" |
| 11 |
"strings" |
| 12 |
|
| 13 |
"github.com/elazarl/goproxy" |
| 14 |
|
| 15 |
|
| 16 |
+ "github.com/paulrosania/go-charset/charset" |
| 17 |
+ _ "github.com/paulrosania/go-charset/data" |
| 18 |
) |
| 19 |
|
| 20 |
var IsHtml goproxy.RespCondition = goproxy.ContentTypeIs("text/html") |
| 21 |
|