fork of https://github.com/sourcegraph/zoekt
0

Configure Feed

Select the types of activity you want to include in your feed.

chore: rename utf8 to utf-8 (#502)

We use two different versions, charset=utf-8 and charset=utf8, in the
code. The former seems to be the standard, hence we rename the latter.

+2 -2
+2 -2
cmd/zoekt-sourcegraph-indexserver/sg.go
··· 424 424 if err != nil { 425 425 return nil, err 426 426 } 427 - req.Header.Set("Content-Type", "application/json; charset=utf8") 427 + req.Header.Set("Content-Type", "application/json; charset=utf-8") 428 428 429 429 resp, err := s.doRequest(req) 430 430 if err != nil { ··· 472 472 if err != nil { 473 473 return err 474 474 } 475 - req.Header.Set("Content-Type", "application/json; charset=utf8") 475 + req.Header.Set("Content-Type", "application/json; charset=utf-8") 476 476 477 477 resp, err := s.doRequest(req) 478 478 if err != nil {