urlmon: Always verify mime using FindMimeFromData.
This commit is contained in:
parent
b1d1507ed8
commit
101c18537a
|
@ -862,10 +862,6 @@ static HRESULT WINAPI InternetProtocolSink_ReportData(IInternetProtocolSink *ifa
|
|||
|
||||
fill_stream_buffer(This->stream);
|
||||
|
||||
/* FIXME: Always call FindMediaFromData (its implementation is not yet ready for this). */
|
||||
if(This->mime)
|
||||
mime = This->mime;
|
||||
else
|
||||
FindMimeFromData(NULL, This->url, This->stream->buf,
|
||||
min(This->stream->buf_size, 255), This->mime, 0, &mime, 0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue