MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / GetHeader

Method GetHeader

internal/nodes/http_writer.go:773–775  ·  view source on GitHub ↗

GetHeader 读取Header值

(name string)

Source from the content-addressed store, hash-verified

771
772// GetHeader 读取Header值
773func (this *HTTPWriter) GetHeader(name string) string {
774 return this.Header().Get(name)
775}
776
777// DeleteHeader 删除Header
778func (this *HTTPWriter) DeleteHeader(name string) {

Callers 5

PrepareCacheMethod · 0.95
PrepareWebPMethod · 0.95
PrepareCompressionMethod · 0.95
calculateStaleLifeMethod · 0.95
finishCacheMethod · 0.95

Calls 2

HeaderMethod · 0.95
GetMethod · 0.45

Tested by

no test coverage detected