Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to disable sending "HEAD" request when it is needed. #397

Open
SzateX opened this issue Jan 31, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@SzateX
Copy link

SzateX commented Jan 31, 2024

Hi,

I'm writing with a change request. I want to set a flag that will disable checking the "ETag" header and sending a "HEAD" request. I have my own server from which I serve emoji-data JSON, but it blocks the reception of "HEAD" requests.

Performance cases are not a problem for me because I have my own caching system.

Thanks in advance for quickly solving my problem.

@nolanlawson nolanlawson added the enhancement New feature or request label Feb 2, 2024
@nolanlawson
Copy link
Owner

Your server can accept GET but not HEAD requests?

I'm unsure about this, because it would be a considerable effort to add this option, it would bloat the config options, and it's only needed for servers that do not properly support the HEAD method.

You may be better off using something like patch-package if this is something you need sooner rather than later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants