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

fix: error on fetch for no headers on request #4624

Merged
merged 2 commits into from
Nov 18, 2024
Merged

Conversation

anovazzi1
Copy link
Contributor

This pull request fixes an error that occurs when fetching data without any headers on the request. The issue was resolved by adding the 'Accept' header to the fetch request in order to handle the response correctly.

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Nov 14, 2024
@anovazzi1 anovazzi1 requested review from lucaseduoli and mfortman11 and removed request for lucaseduoli November 14, 2024 20:05
@github-actions github-actions bot added bug Something isn't working and removed bug Something isn't working labels Nov 14, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 18, 2024
@ogabrielluiz ogabrielluiz enabled auto-merge (squash) November 18, 2024 16:11
@anovazzi1 anovazzi1 disabled auto-merge November 18, 2024 16:36
@anovazzi1 anovazzi1 enabled auto-merge (squash) November 18, 2024 16:36
@anovazzi1 anovazzi1 merged commit 596c27b into main Nov 18, 2024
18 checks passed
@anovazzi1 anovazzi1 deleted the fixDownloadPlayground branch November 18, 2024 16:45
mieslep pushed a commit to mieslep/langflow that referenced this pull request Nov 19, 2024
* fix: error on fetch for no headers on request
diogocabral pushed a commit to headlinevc/langflow that referenced this pull request Nov 26, 2024
* fix: error on fetch for no headers on request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants