Kinto / Kinto/kinto-http.py

Add a user_agent Session parameter to be able to override the default one.

Open
#174 7 comments 0 reactions 0 assignees View on GitHub
easy-pick stale
Dominant language
Python
Stars
53
Forks
22
Avg merge
3d 5h
Merged PRs (30d)
3

Description

I tried `Client` constructor, update_record method or even Session but with no luck.

I was trying to override the User-Agent
```
headers={'User-Agent': 'backoffice {}'.format(version)}
```

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Client constructor, update_record method, and Session handling mentioned in the issue to find where the default User-Agent is set. Done means a user_agent Session parameter can override that default, with a request-level test confirming the resulting header.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.