psf / psf/requests

Add request event hook

Open
#5,037 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
54.3k
Forks
10.5k
Avg merge
16h 43m
Merged PRs (30d)
3

Description

There was a scenario where I need to intercept the request and was searching for if there is some way can that be done, then I found the event hook but only response event hook is supported.
I hope adding request hook can be useful, if yes I would like to implement that.

Any pointers or suggestion appreciated.

Thanks

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

The issue names only the existing response event hook, not a source file or test. Start by tracing how that hook is implemented and exercised, then determine where a request hook would be invoked and how its behavior should be verified; done means request interception is supported alongside the response hook.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.