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

support multipart/form-data in router #207

Closed
irisdingbj opened this issue Jul 22, 2024 · 1 comment
Closed

support multipart/form-data in router #207

irisdingbj opened this issue Jul 22, 2024 · 1 comment
Assignees
Labels

Comments

@irisdingbj
Copy link
Collaborator

router is not able to handle multipart/form-data:

kubectl exec -it client-test-87d6c7d7b-wvxf5 -n chatqa -- curl http://router-service-data-prep.chatqa.svc.cluster.local:8080 -X POST -H 'Content-Type: multipart/form-data' -F 'link_list=["https://istio.io", "https://opea.dev"]'
{"detail":"Must provide either a file or a string list."}

@irisdingbj
Copy link
Collaborator Author

close this as fix has been merged

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

No branches or pull requests

3 participants