Scoop API

scoop:scoop.http:0.1.0

HttpFilename

class HttpFilename

source · line 11
public
public class HttpFilename internal constructor(
    /**
     * The selected decoded filename, or None when unavailable.
     */
    public val text: String?,
        /**
         * The language tag from a valid extended filename.
         */
        public val language: String?,
        /**
         * The filename* decoding error retained when fallback was needed.
         */
        public val extendedFailure: HttpFieldParseException?
)

The selected filename text/language and any failure decoding filename*, retained when falling back to filename.

property text

source · line 15
public
public val text: String?

get: public read-only

The selected decoded filename, or None when unavailable.

property language

source · line 19
public
public val language: String?

get: public read-only

The language tag from a valid extended filename.