李伟乐 2 years ago
parent e15b12decf
commit f6a0e82c39
  1. 2
      encoding/encoding.go

@ -1,6 +1,7 @@
package encoding
import (
"fmt"
"strings"
)
@ -38,5 +39,6 @@ func RegisterCodec(codec Codec) {
//
// The content-subtype is expected to be lowercase.
func GetCodec(contentSubtype string) Codec {
fmt.Println("xx", contentSubtype)
return registeredCodecs[contentSubtype]
}

Loading…
Cancel
Save