microsoft / microsoft/kiota-php

implement decompression handler

Open
#37 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
8
Forks
10
Avg merge
10h 16m
Merged PRs (30d)
3

Description

related https://github.com/microsoft/kiota/issues/598
Guzzle will already decompress responses automatically.
If we have a way to specify default request headers no additional handler is required, just update the factory.
If we don't, add a new handler that adds this header when not present, with gzip as a value. And add that handler to the list of default handlers for the clients

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

Start by reviewing the client factory and its default handler list, then read the related Kiota issue for the request-header decision. Determine whether default request headers can be configured; done means either updating the factory or adding a handler that supplies an absent gzip header and registering it for default clients.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.