You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to POST a new media but get back the following error:
Invalid Content-Disposition supplied. Content-Disposition needs to be formatted as "filename=image.png" or similar.
I can work around that by using an invalid Content-Disposition of literally filename=unquoted_name.jpg, but that's not how the header is supposed to look like.
Since RFC2616 describes headers in responses from a server, one could argue that this header isn't the same one and has other parsing rules, but I would then suggest that we use a dedicated X-Filename header instead of shadowing another well-known header.
I'm trying to
POSTa new media but get back the following error:I can work around that by using an invalid
Content-Dispositionof literallyfilename=unquoted_name.jpg, but that's not how the header is supposed to look like.From RFC2616, section 19.5.1:
attachment; filename="foo.jpg"foo.jpgattachment;filename="foo.jpg"foo.jpginline; filename=bar.pdfbar.pdfinline; extension=whatever; filename=baz.png; other=valuebaz.pngfilename="baz.png""in them(?)baz.pngor errorfilename=baz.pngbaz.pngbaz.pngor errorSince RFC2616 describes headers in responses from a server, one could argue that this header isn't the same one and has other parsing rules, but I would then suggest that we use a dedicated
X-Filenameheader instead of shadowing another well-known header.