contentdisposition

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2015 License: BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Overview

Package contentdisposition attempts to correctly implement the confusing Content-Disposition header for specifying alternate filenames.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetFilename

func SetFilename(w http.ResponseWriter, filename string)

SetFilename adds a Content-Disposition header to the response to set an alternate filename. It probably has proper formatting and non-ASCII character support, as described by RFC 2616 and RFC 5987.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL