loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

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

Do not set `Accept` header twice (#28598)

Revert #28550

Don't add the `Accept` header twice.

authored by

KN4CK3R and committed by
GitHub
4cd666d7 c706b3e4

+1 -4
+1 -4
modules/lfs/http_client.go
··· 79 79 return nil, err 80 80 } 81 81 82 - req, err := createRequest(ctx, http.MethodPost, url, map[string]string{ 83 - "Content-Type": MediaType, 84 - "Accept": MediaType, 85 - }, payload) 82 + req, err := createRequest(ctx, http.MethodPost, url, map[string]string{"Content-Type": MediaType}, payload) 86 83 if err != nil { 87 84 return nil, err 88 85 }