fix multipart filter,

check if request is multipart first then get the Parts