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

[Bug]: Cannot perform a multipart/form-data request without any file #143

Open
1 task done
Acturus opened this issue Jan 7, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working planned

Comments

@Acturus
Copy link

Acturus commented Jan 7, 2024

What happened?

Hi, I tried to make a test without sending any file to an upload route on my project and the client shows "Transaction in progress..." indefinitely and I need to click on Discard to stop it.

The request was made with a form body with multipart option enabled.

I have tried this case with other tools and in my application and the route works.

Steps to reproduce?

1. Launch the app
2. Create HTTP request with a route that receives a file
3. In body tab, select the Form option, enable Multipart switch
4. Send request

What did you expect to happen?

Show my custom error message like "No file was attached"

Platform

None

HTTPie Desktop version

2024.1.2

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Acturus Acturus added the bug Something isn't working label Jan 7, 2024
@jkbrzt jkbrzt added the planned label Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working planned
Projects
None yet
Development

No branches or pull requests

2 participants