mirror of
https://github.com/curl/curl.git
synced 2026-08-26 13:53:33 +03:00
Fix RTSP GET_PARAMETER empty and non-empty operation.
Test coverage included. Thanks to Massimo Callegari for the bug report
This commit is contained in:
parent
50b51161c9
commit
1ac168e576
6 changed files with 338 additions and 33 deletions
|
|
@ -1345,7 +1345,9 @@ terminate the RTSP session since it is valid to control an RTSP session over
|
|||
different connections. (Added in 7.20.0)
|
||||
.IP CURL_RTSPREQ_GET_PARAMETER
|
||||
Retrieve a parameter from the server. By default, libcurl will automatically
|
||||
include an \fIAccept: text/parameters\fP header unless a custom one is set.
|
||||
include a \fIContent-Type: text/parameters\fP header on all non-empty requests
|
||||
unless a custom one is set. GET_PARAMETER acts just like an HTTP PUT or POST
|
||||
(see \fICURL_RTSPREQ_SET_PARAMETER\fP).
|
||||
Applications wishing to send a heartbeat message (e.g. in the presence of a
|
||||
server-specified timeout) should send use an empty GET_PARAMETER request.
|
||||
(Added in 7.20.0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue