xhttp

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContentTypeHeader                    string = "Content-Type"
	ContentTypeApplicationJson           string = "application/json"
	ContentTypeApplicationHalJson        string = "application/hal+json"
	ContentTypeTextPlain                 string = "text/plain"
	ContentTypeMultipartFormData         string = "multipart/form-data"
	ContentTypeApplicationFormUrlencoded string = "application/x-www-form-urlencoded"
)

Variables

This section is empty.

Functions

func ContentTypeInList

func ContentTypeInList(types []string, typ string) bool

func ExtractContentType

func ExtractContentType(header string) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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