Description:
In the current implementation, there are two input methods available:
- Upload .eml file
- Paste header content
- The "Paste Header" option is not functioning correctly and returns a 400 error when submitting content.
Additionally, there is a conflict between the two input methods:
- When an .eml file is uploaded, any previously pasted header content should be cleared.
- When header content is pasted, any previously uploaded .eml file should be removed.
Currently, this mutual exclusivity is not properly handled.
Expected Behavior:
- Pasted header content should be processed successfully without errors.
- Only one input method should be active at a time:
- Uploading a file clears pasted content
- Pasting content removes uploaded file
Description:
In the current implementation, there are two input methods available:
Additionally, there is a conflict between the two input methods:
Currently, this mutual exclusivity is not properly handled.
Expected Behavior: