[PR #5186] [MERGED] Add AutoHead functionality. #17685

Closed
opened 2025-11-02 15:01:18 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/5186
Author: @zeripath
Created: 10/25/2018
Status: Merged
Merged: 10/30/2018
Merged by: @techknowlogick

Base: masterHead: issue-5153-support-HEAD


📝 Commits (2)

  • b41274f Add AutoHead functionality.
  • d98d1d9 Merge branch 'master' into issue-5153-support-HEAD

📊 Changes

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

View changed files

📝 routers/routes/routes.go (+1 -0)

📄 Description

This pull-request adds a call to SetAutoHead which will simply provide HEAD request support for every GET request. This may not be the best way to provide this, as some GET requests may take time to process whereas a HEAD could be much more lightweight.

Fixes #5153


🔄 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/go-gitea/gitea/pull/5186 **Author:** [@zeripath](https://github.com/zeripath) **Created:** 10/25/2018 **Status:** ✅ Merged **Merged:** 10/30/2018 **Merged by:** [@techknowlogick](https://github.com/techknowlogick) **Base:** `master` ← **Head:** `issue-5153-support-HEAD` --- ### 📝 Commits (2) - [`b41274f`](https://github.com/go-gitea/gitea/commit/b41274f9b944b14433931c60cd1dc2e8df8b601d) Add AutoHead functionality. - [`d98d1d9`](https://github.com/go-gitea/gitea/commit/d98d1d91798e449e4cd261fd68acc95e465cc0e3) Merge branch 'master' into issue-5153-support-HEAD ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `routers/routes/routes.go` (+1 -0) </details> ### 📄 Description This pull-request adds a call to SetAutoHead which will simply provide HEAD request support for every GET request. This may not be the best way to provide this, as some GET requests may take time to process whereas a HEAD could be much more lightweight. Fixes #5153 --- <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 2025-11-02 15:01:18 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17685