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

useFetch: onFetchError usage ignores request headers #3040

Closed
7 tasks done
orkhanahmadov opened this issue Apr 27, 2023 · 1 comment
Closed
7 tasks done

useFetch: onFetchError usage ignores request headers #3040

orkhanahmadov opened this issue Apr 27, 2023 · 1 comment

Comments

@orkhanahmadov
Copy link

Describe the bug

When using onFetchError passed request headers are being ignored and not being used at all. See reproduction link.

Possibly related: #2711 (comment)

Reproduction

https://stackblitz.com/edit/vitejs-vite-yajzeb/?file=src%2FApp.vue

System Info

System:
    OS: macOS 13.3.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 1.30 GB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.20.0 - /opt/homebrew/opt/node@16/bin/node
    Yarn: 1.22.4 - /opt/homebrew/bin/yarn
    npm: 8.19.4 - /opt/homebrew/opt/node@16/bin/npm
  Browsers:
    Chrome: 112.0.5615.137
    Firefox: 112.0.2
    Safari: 16.4

Used Package Manager

yarn

Validations

@stale
Copy link

stale bot commented Jun 26, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 26, 2023
@stale stale bot closed this as completed Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant