Skip to content

RestResponse does not contain Content-Disposition header #1684

@nesc58

Description

@nesc58

Expected Behavior

Headers should contain all headers e.g. also "Content-Disposition" header.

Actual Behavior

No Content-Disposition header is available.

Some "Content" related header values are mapped to the RestResponse object but not all headers.
https://github.com/restsharp/RestSharp/blob/dev/src/RestSharp/Response/RestResponse.cs#L111

This behavior is not listed in the migration guide.
Should I really implement this by my own?

Specifications

  • Version: 107.0.1
  • Platform: Windows - .net 5.0
  • Subsystem:

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