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

feat: fetchWithEvent and getProxyRequestHeaders utils #323

Merged
merged 3 commits into from
Feb 8, 2023
Merged

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Feb 8, 2023

Add two new proxy utils:

  • fetchWithEvent: A fetch wrapper that uses event's context and incoming headers to proxy
  • getProxyRequestHeaders: Gey filtered headers from incoming header we can proxy

@pi0 pi0 merged commit e5f61a9 into main Feb 8, 2023
@pi0 pi0 deleted the feat/proxy-path branch February 8, 2023 11:15
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

Successfully merging this pull request may close these issues.

None yet

1 participant