get_content_disposition

sunpy.util.net.get_content_disposition(content_disposition)[source] [edit on github]

Get the content disposition filename from given header.

Do not include “Content-Disposition:”.

Parameters

content_disposition (str) – The content disposition header.

Returns

str – The content disposition filename.