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

Content-Type is broken #129

Merged
merged 2 commits into from
Feb 5, 2025
Merged

Conversation

mike-petrov
Copy link
Contributor

closes #128

Signed-off-by: Mikhail Petrov mike@nspcc.ru

Signed-off-by: Mikhail Petrov <mike@nspcc.ru>
@mike-petrov mike-petrov self-assigned this Feb 5, 2025
@roman-khimov
Copy link
Member

The fix is valid, but type checks are not addressed (see #128).

@mike-petrov
Copy link
Contributor Author

Please also split type checks from upload (two loops are ok).

can you explain, I don't understand

@mike-petrov
Copy link
Contributor Author

@roman-khimov
Copy link
Member

The idea was to separate checks and uploads, currently some files are uploaded and some not. Uploading takes time, checking content type does not, so you can check all files first and error out if anything is wrong or upload all of them if everything is OK.

@roman-khimov
Copy link
Member

OK, you have convinced me they're already separated, but there is an additional type to handle. Refs. nspcc-dev/neofs-oauthz#68 as well.

Signed-off-by: Mikhail Petrov <mike@nspcc.ru>
@mike-petrov
Copy link
Contributor Author

@roman-khimov done

@roman-khimov roman-khimov merged commit 3eba223 into master Feb 5, 2025
2 checks passed
@roman-khimov roman-khimov deleted the fix/128-content_type_is_broken branch February 5, 2025 11:26
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.

Content-Type is broken
2 participants