[PR #531] [MERGED] set request.ContentLength #20743

Closed
opened 2026-04-19 15:13:49 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/531
Author: @mxyng
Created: 9/14/2023
Status: Merged
Merged: 9/14/2023
Merged by: @mxyng

Base: mainHead: mxyng/content-length


📝 Commits (1)

  • daa4f09 set request.ContentLength

📊 Changes

1 file changed (+9 additions, -0 deletions)

View changed files

📝 server/images.go (+9 -0)

📄 Description

This informs the HTTP client the content length is known and disables chunked Transfer-Encoding


🔄 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/531 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 9/14/2023 **Status:** ✅ Merged **Merged:** 9/14/2023 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/content-length` --- ### 📝 Commits (1) - [`daa4f09`](https://github.com/ollama/ollama/commit/daa4f096f9e1e23aa2f6d09e5a13483c5cbaf232) set request.ContentLength ### 📊 Changes **1 file changed** (+9 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `server/images.go` (+9 -0) </details> ### 📄 Description This informs the HTTP client the content length is known and disables chunked Transfer-Encoding --- <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-19 15:13:49 -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#20743