[PR #2530] [MERGED] use http.DefaultClient #10923

Closed
opened 2026-04-12 23:15:38 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/2530
Author: @mxyng
Created: 2/16/2024
Status: Merged
Merged: 2/20/2024
Merged by: @jmorganca

Base: mainHead: mxyng/http-default-client


📝 Commits (1)

📊 Changes

3 files changed (+9 additions, -52 deletions)

View changed files

📝 api/client.go (+4 -21)
📝 app/lifecycle/updater.go (+4 -19)
📝 server/images.go (+1 -12)

📄 Description

default client already handles proxy: https://pkg.go.dev/net/http#RoundTripper


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/2530 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 2/16/2024 **Status:** ✅ Merged **Merged:** 2/20/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `mxyng/http-default-client` --- ### 📝 Commits (1) - [`dfe5079`](https://github.com/ollama/ollama/commit/dfe5079b0c8f872b6a398b9c22d76cd817b73507) use http.DefaultClient ### 📊 Changes **3 files changed** (+9 additions, -52 deletions) <details> <summary>View changed files</summary> 📝 `api/client.go` (+4 -21) 📝 `app/lifecycle/updater.go` (+4 -19) 📝 `server/images.go` (+1 -12) </details> ### 📄 Description default client already handles proxy: https://pkg.go.dev/net/http#RoundTripper --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-12 23:15:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#10923