Skip to content

Add a HEAD method to DelayedRequester #1579

@AetherUnbound

Description

@AetherUnbound

Description

The DelayedRequester has a lot of machinery around making requests & handling errors that would be useful for alternate request methods (such as HEAD or POST). We have a use-case for HEAD already in #1493.

I think an ideal implementation would have one request inner method that is wrapped by the various methods, e.g.:

def make_request(method, **kwargs):
    ...

def get(**kwargs):
    make_request(requests.get, **kwargs):

def head(**kwargs):
    make_request(requests.head, **kwargs):

...

Implementation

  • 🙋 I would be interested in implementing this feature.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions