complete
Class: matlab.net.http.io.ImageProvider
Namespace: matlab.net.http.io
Complete HTTP header for ImageProvider
Syntax
complete(provider,URI)
Description
complete(
completes the header of the message, or, in the case of a multipart message, the part
for which this provider is being used. If there is no Content-Type field, then
provider,URI)complete adds one specifying the MediaType derived from the arguments
to the constructor. If there is a Content-Type field, then the method sets the
MediaType. If the MediaType cannot be determined from
either the Content-Type or the arguments, then the method tries to derive it from the
suffix of the file name in the Content-Disposition field. If that algorithm does not
work, then MediaType is set to "image/jpeg".
This method is an overridden method of complete.
Input Arguments
Attributes
Access | protected |
Version History
Introduced in R2018a