Skip to content

Mock post call cant check for certain ContentType. #128

@martijndormans

Description

@martijndormans

So I am making an Angular 8 application where I can upload different types of file (etc: .txt and .pdf). For my e2e tests I want to return different data results when I am posting a certain type of file. This can be done by looking at the ContentType header but I don't think there is a way to check for that in a mock file.

It would be really nice if this is something you can add.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions