mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
server: use relative control attributes (#620)
This commit is contained in:
@@ -5,6 +5,8 @@ import (
|
||||
)
|
||||
|
||||
// PathSplitQuery splits a path from a query.
|
||||
//
|
||||
// Deprecated: not useful anymore.
|
||||
func PathSplitQuery(pathAndQuery string) (string, string) {
|
||||
i := strings.Index(pathAndQuery, "?")
|
||||
if i >= 0 {
|
||||
|
Reference in New Issue
Block a user