httpheader

package
v3.12.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package httpheader contains code to set common HTTP headers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Accept

func Accept() string

Accept returns the Accept header used for measuring.

func AcceptLanguage

func AcceptLanguage() string

AcceptLanguage returns the Accept-Language header used for measuring.

func CLIUserAgent

func CLIUserAgent() string

CLIUserAgent returns the User-Agent used when we want to pretent to be a command line HTTP client.

func UserAgent

func UserAgent() string

UserAgent returns the User-Agent header used for measuring.

Types

This section is empty.

Jump to

Keyboard shortcuts

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