Skip to content

Instantly share code, notes, and snippets.

View jorihardman's full-sized avatar

Jori Hardman jorihardman

  • Aumni Inc
  • Salt Lake City
View GitHub Profile
@bryfry
bryfry / gzip.go
Last active July 25, 2024 03:38
Idiomatic golang net/http gzip transparent compression (works with Alice)
package main
import (
"compress/gzip"
"io"
"net/http"
"strings"
)
// Gzip Compression