Adding extension for attachments

I am ok with the change. I noticed you were using both content-type and contentType. I chose content-type.