WordPress / WordPress/Requests

Provide a way to specify Accept-Encoding headers

Open
#135 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: Transports
Dominant language
PHP
Stars
3.6k
Forks
500
Avg merge
2d 21h
Merged PRs (30d)
5

Description

My server php does not have gzip inflation capabilities (zlib extension is not enabled). Please provide a way to remove gzip from the Accept-Encoding header. Right now, it's added by default regardless of the header settings.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by locating where the default Accept-Encoding header is added and how explicit header settings are handled, then check behavior when the PHP zlib extension is unavailable. Done means callers can remove gzip from the generated header without requiring zlib inflation support.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.