backend for xcvr appview

woopso

+2 -2
+2 -2
server/internal/oauth/oauthclient.go
··· 189 189 req := atpclient.NewAPIRequest("POST", "com.atproto.repo.uploadBlob", fileReader) 190 190 contentType := fileHeader.Header.Get("Content-Type") 191 191 if contentType == "" { 192 - 193 - req.Headers.Add("Content-Type", "application/octet-stream") 192 + contentType = "application/octet-stream" 194 193 } 194 + req.Headers.Add("Content-Type", contentType) 195 195 req.Headers.Add("Content-Length", fmt.Sprintf("%d", len(fileBytes))) 196 196 resp, err := client.Do(ctx, req) 197 197 if err != nil {