[PR #1245] [CLOSED] Use httpx with HTTP/2 for faster response #1141

Closed
opened 2026-02-25 21:30:18 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/benbusby/whoogle-search/pull/1245
Author: @rstefko
Created: 9/17/2025
Status: Closed

Base: mainHead: httpx


📝 Commits (2)

  • 54ab936 Use httpx with HTTP/2 for faster response
  • 88c8191 refs #1245: Use HTTP/2 only when proxy and tor is not defined, proxies mostly do not well support HTTP/2 anyway

📊 Changes

2 files changed (+13 additions, -5 deletions)

View changed files

📝 app/request.py (+12 -5)
📝 requirements.txt (+1 -0)

📄 Description

In my case with HTTP/1.1 each search request took always approximately 3 seconds. With HTTP/2 its just milliseconds.


🔄 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/benbusby/whoogle-search/pull/1245 **Author:** [@rstefko](https://github.com/rstefko) **Created:** 9/17/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `httpx` --- ### 📝 Commits (2) - [`54ab936`](https://github.com/benbusby/whoogle-search/commit/54ab936942352c5fb3e86ff78977818a71af332e) Use httpx with HTTP/2 for faster response - [`88c8191`](https://github.com/benbusby/whoogle-search/commit/88c8191b1c2df173aa9fed86f344776ae1072673) refs #1245: Use HTTP/2 only when proxy and tor is not defined, proxies mostly do not well support HTTP/2 anyway ### 📊 Changes **2 files changed** (+13 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `app/request.py` (+12 -5) 📝 `requirements.txt` (+1 -0) </details> ### 📄 Description In my case with HTTP/1.1 each search request took always approximately 3 seconds. With HTTP/2 its just milliseconds. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 21:30:18 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#1141
No description provided.