mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-13 03:14:11 +08:00
webrtc: fix ETag header name according to specification (#2396) (#2401)
Some checks reported warnings
test / test64 (push) Has been cancelled
test / test32 (push) Has been cancelled
test / test_highlevel (push) Has been cancelled
lint / code (push) Has been cancelled
lint / mod-tidy (push) Has been cancelled
lint / apidocs (push) Has been cancelled
Some checks reported warnings
test / test64 (push) Has been cancelled
test / test32 (push) Has been cancelled
test / test_highlevel (push) Has been cancelled
lint / code (push) Has been cancelled
lint / mod-tidy (push) Has been cancelled
lint / apidocs (push) Has been cancelled
This commit is contained in:
@@ -88,7 +88,7 @@ func TestWebRTCSource(t *testing.T) {
|
||||
|
||||
w.Header().Set("Content-Type", "application/sdp")
|
||||
w.Header().Set("Accept-Patch", "application/trickle-ice-sdpfrag")
|
||||
w.Header().Set("E-Tag", "test_etag")
|
||||
w.Header().Set("ETag", "test_etag")
|
||||
w.Header().Set("Location", "/my/resource/sessionid")
|
||||
w.WriteHeader(http.StatusCreated)
|
||||
w.Write([]byte(pc.LocalDescription().SDP))
|
||||
|
Reference in New Issue
Block a user