commit | 0ab009005dc16437045369e823a35d1af6232b69 | [log] [tgz] |
---|---|---|
author | Tamir Duberstein <tamird@gmail.com> | Mon Jan 04 13:19:19 2016 -0500 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Mon Jan 04 18:49:02 2016 +0000 |
tree | 391e39eafd1da6a04ecc753f60dfdf63052eae03 | |
parent | 0cb26f788dd4625d1956c6fd97ffc4c90669d129 [diff] |
trace: properly set the content type when sending html Without this, if the responses are compressed, Chrome's content-type detection will fail and it will attempt to download these pages rather than render them as HTML. Change-Id: Ib5f803f335d55a00a759de85d38855ee0ae13ee0 Reviewed-on: https://go-review.googlesource.com/18230 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>