httpheader

package
v0.0.0-...-bd88772 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: BSD-3-Clause 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