lucasfais / rack-multipart_related

It's a rack middleware to parse multipart/related requests and rebuild a simple/merged parameters hash.
17 stars 5 forks source link

Content-ID header #3

Open odalet opened 9 years ago

odalet commented 9 years ago

I've just had a look at your code as I'm trying to do something similar (but with C# and ASP.NET WebApi). I was wondering, shouldn't the cid value reference a Content-ID header rather than the name parameter of the Content-Disposition header?

Thanks

lucasfais commented 9 years ago

I think you are right. I will add such behaviour, but I will keep the current one working for backwards compatibility.

Thank you!