mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 00:38:33 +02:00
cleanup and simplify middleware implementations, refactor some other code
This commit is contained in:
@@ -16,6 +16,9 @@ const (
|
||||
HeaderUpstreamScheme = "X-GoDoxy-Upstream-Scheme"
|
||||
HeaderUpstreamHost = "X-GoDoxy-Upstream-Host"
|
||||
HeaderUpstreamPort = "X-GoDoxy-Upstream-Port"
|
||||
|
||||
HeaderContentType = "Content-Type"
|
||||
HeaderContentLength = "Content-Length"
|
||||
)
|
||||
|
||||
func RemoveHop(h http.Header) {
|
||||
|
||||
Reference in New Issue
Block a user