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

Add 'multipart/form-data' support for file uploads #1372

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from

Conversation

myall200
Copy link

@myall200 myall200 commented Nov 13, 2020

Fixes #714

Motivation

Introduce a support of file streaming (file uploads) via the gateway, without body content caching.
Current loading of entire body to a memory in Ocelot core is a source of errors, unstable responses because downstream services produce errors during long lasting operation of the request.

Proposed Changes

  • add multipart/form-data support for file uploads

Related to

@raman-m raman-m changed the base branch from master to develop July 15, 2023 14:14
@raman-m
Copy link
Member

raman-m commented Jul 15, 2023

Hi zenghao!
Thanks for your interest in Ocelot!

Why did you revert the changes by reverting commit?

Could you Sync fork please? There is no develop branch in the forked repo!

@raman-m raman-m changed the title Add multipart/form-data Support Add 'multipart/form-data' support for file uploads Aug 11, 2023
@raman-m
Copy link
Member

raman-m commented Aug 11, 2023

@myall200 Hi Zenghao!
Do you have any intention of contributing to this feature further?

I hope, if we will have a pair programming sessions together, we could deliver full functioning feature and the PR could close the list of open issues.

Happy Friday!
Have a nice sunny weekend in China! 😉

@raman-m
Copy link
Member

raman-m commented Aug 11, 2023

The feature branch (master) has been rebased onto ThreeMammals:develop!


I don't see develop branch in your fork! Your fork is too old.

Could you Sync fork please? So, new develop branch will occur with all top commits!

Could you add me as collaborator to your forked repo please? I will create develop branch and make it default.


There are 2 failed tests in the build:

Fully qualified names:

Reason: [Incorrect Content-Type:]
I guess it won't be hard to fix these failed tests.

@raman-m raman-m added feature A new feature help wanted Not actively being worked on. If you plan to contribute, please drop a note. large effort Likely over a week of development effort medium effort Likely a few days of development effort needs feedback Issue is waiting on feedback before acceptance labels Aug 11, 2023
Copy link
Member

@raman-m raman-m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$\color{red}{There\ are\ 2\ failed\ tests\ in\ the\ build!}$

$\color{red}{There\ are\ 2\ failed\ tests\ in\ the\ build!}$

Build: 1422

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature help wanted Not actively being worked on. If you plan to contribute, please drop a note. large effort Likely over a week of development effort medium effort Likely a few days of development effort needs feedback Issue is waiting on feedback before acceptance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multipart/form-data is not rerouted (error 404)
2 participants