Skip to content

Commit

Permalink
Add charset to text/plain Content-Type (weaveworks#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
robbiet480 authored and brian-brazil committed Feb 28, 2018
1 parent 89604d1 commit 6fb6fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expfmt/expfmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const (

// The Content-Type values for the different wire protocols.
FmtUnknown Format = `<unknown>`
FmtText Format = `text/plain; version=` + TextVersion
FmtText Format = `text/plain; version=` + TextVersion + `; charset=utf-8`
FmtProtoDelim Format = ProtoFmt + ` encoding=delimited`
FmtProtoText Format = ProtoFmt + ` encoding=text`
FmtProtoCompact Format = ProtoFmt + ` encoding=compact-text`
Expand Down

0 comments on commit 6fb6fce

Please sign in to comment.