httpconst

package
v0.2.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package httpconst centralises HTTP header names and content-type strings shared by the API, MCP, and OTLP-HTTP handlers so the same literal isn't duplicated across packages.

Index

Constants

View Source
const (
	// HeaderContentType is the canonical HTTP Content-Type header name.
	HeaderContentType = "Content-Type"

	// ContentTypeJSON is the application/json content type used by every JSON
	// response on the API and MCP surface.
	ContentTypeJSON = "application/json"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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