Skip to content

Conversation

alexeyzimarev
Copy link
Member

Description

Ability to tune the Content-Disposition header behaviour for files. All AddFile overloads now have the optional options parameter. It should be an instance of FileParameterOptions, which has two properties:

  • DisableFilenameEncoding - completely disables the default header behaviour and sends the filename raw. In most cases, it won't work. Default is false.
  • DisableFileNameStar - disables adding the filename* part of the header. Default is true as it's how the current version works. It should actually solve the problem described in the issue when set to true.

#1828

Purpose

This pull request is a:

  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant