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

This commit is contained in:
Alessandro Ros
2023-09-23 14:21:53 +02:00
committed by GitHub
parent 75f518a827
commit f1e28d053f
5 changed files with 7 additions and 7 deletions

View File

@@ -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))