I don't know if this is a problem with the extension or Java/Spring/openapi custom server code handling requests but here goes.
We use this multipart request for uploading PDF files from a client machine; works great.
All parts in the request are required for POST - nothing is optional.
If we change the file path to a nonexistent file, the request is still sent and does not generate warning or error.
Upon receiving the request on the server, we check the file part content length to be 19 bytes.
Very strange - where does 19 bytes come from if the file part in the request was for nonexistent file?
How does the extension prepare and send multipart request when file path is invalid?
I don't know if this is a problem with the extension or Java/Spring/openapi custom server code handling requests but here goes.
We use this multipart request for uploading PDF files from a client machine; works great. All parts in the request are required for POST - nothing is optional.
Problem
If we change the file path to a nonexistent file, the request is still sent and does not generate warning or error. Upon receiving the request on the server, we check the file part content length to be 19 bytes. Very strange - where does 19 bytes come from if the file part in the request was for nonexistent file? How does the extension prepare and send multipart request when file path is invalid?