httpx

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package httpx provides a set of utilities for working with the net/http package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetContentType

func GetContentType(seeker io.ReadSeeker) (string, error)

GetContentType returns the content type of a file based on its extension.

func GetContentTypeByExtension

func GetContentTypeByExtension(file string) string

GetContentTypeByExtension returns the content type of a file based on its extension.

Types

This section is empty.

Jump to

Keyboard shortcuts

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