Unleash / unleash-proxy-client-js

A browser client that can be used together with the unleash-proxy.
Apache License 2.0
44 stars 46 forks source link

Empty 'If-None-Match' header is send causing some firewalls to block the request #189

Closed sebkasanzew closed 6 months ago

sebkasanzew commented 6 months ago

Describe the bug

Requests are made with headers always containing the If-None-Match header, even if there is no value.

if no etag is set, it defaults to '' and thus the If-None-Match header is set with an empty value.

Some firewalls, like "F5" are blocking requests with empty headers by default.

Steps to reproduce the bug

Don't set an etag

Expected behavior

No response

Logs, error output, etc.

No response

Screenshots

No response

Additional context

No response

Unleash version

No response

Subscription type

None

Hosting type

None

SDK information (language and version)

No response

Tymek commented 6 months ago

Please try v3.3