Compare commits

..

No commits in common. "55ef797f68f3690f1c80efd37ccce779600ed3ff" and "e79b883faacb15c928d6655ba2ff5c9eba0fabbe" have entirely different histories.

2 changed files with 0 additions and 2 deletions

View File

@ -510,7 +510,6 @@ func Fetch2(fetchURL string) (*http.Response, error) {
if err != nil {
return nil, fmt.Errorf("error while fetching %s: %s", u, err)
}
defer resp.Body.Close()
var b bytes.Buffer
resp.Write(&b)

View File

@ -72,7 +72,6 @@ func (h *microsubHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
jw := json.NewEncoder(w)
w.Header().Add("Content-Type", "application/json")
jw.SetIndent("", " ")
jw.SetEscapeHTML(false)
err = jw.Encode(timeline)
if err != nil {
http.Error(w, err.Error(), 500)