Get Content-Type specified by the client in multipart request

     
-----------------------------28762240629868  Content-Disposition: form-data; name="file"; filename="1.jpg"  Content-Type: image/jpeg
  ....  

I have a specific requirement to get the Content-Type value (here image/jpeg or whatever is sent by the client)


$_SERVER["CONTENT_TYPE"] Or getallheaders() returns


multipart/form-data; boundary=---------------------------28762240629868  

I need to get Content-Type: mentioned below 'Content-Disposition" in multipart request body (not from the file MIME type)