Skip to content

headers['Content-Disposition'].test(/attachment/) throws error #1201

@joshmackey

Description

@joshmackey

Error: TypeError: headers['Content-Disposition'] is undefined

I'm returning type "text/calendar" from the server and the above error gets thrown. It doesn't handle the case if Content-Disposition doesn't exist.

I'm using FF.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions