containing the headers for the part currently being processed or null if the headers failed to parse.
MultipartInputStream.getHeaders
soup.message_headers.MessageHeaders getHeaders()Obtains the headers for the part currently being processed.
Note that the soup.message_headers.MessageHeaders that are returned are owned by the #SoupMultipartInputStream and will be replaced when a call is made to soup.multipart_input_stream.MultipartInputStream.nextPart or its async counterpart, so if keeping the headers is required, a copy must be made.
Note that if a part had no headers at all an empty soup.message_headers.MessageHeaders will be returned.
Returns
a #SoupMessageHeaders