For example, as described in the guide, in a request such as
POST /upload HTTP/1.1
Content-Length: 428
Content-Type: multipart/form-data; boundary=abcde12345
--abcde12345
Content-Disposition: form-data; name="profileImage"; filename="image1.png"
Content-Type: application/octet-stream
{…file content…}
--abcde12345--
how would a spec state that the filename parameter in header Content-Disposition is required and explain special usage in a description?
RFCs state that the filename parameter is optional.
It's not clear how to express parameters for a header object.
For example, as described in the guide, in a request such as
how would a spec state that the
filenameparameter in headerContent-Dispositionis required and explain special usage in a description?RFCs state that the filename parameter is optional.
It's not clear how to express parameters for a header object.