Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.
/ hsfwsc Public archive

http.ServeFile with a custom status code

Notifications You must be signed in to change notification settings

bnch/hsfwsc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

hsfwsc - Http Static File With Status Code

Some code I got out of net/http to serve static files with a specific error code.

Don't look into the code. It's just copy paste all over the place. Have a look at net/http if you really want to take a look at how stuff is done.

What? That name doesn't have vowels and is too hard to remember!

Who gives a shit. You'll probably have to import it once in your life anyway. If you really feel like you need an easier to remember name, use named imports.

About

http.ServeFile with a custom status code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages