mirror of
https://github.com/LukeHagar/plexgo.git
synced 2025-12-09 12:37:46 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.314.2
This commit is contained in:
@@ -9,6 +9,10 @@ import (
|
||||
)
|
||||
|
||||
func MatchContentType(contentType string, pattern string) bool {
|
||||
if contentType == "" {
|
||||
contentType = "application/octet-stream"
|
||||
}
|
||||
|
||||
if contentType == pattern || pattern == "*" || pattern == "*/*" {
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user