Sends signed provisioning request as query string instead of payload.

Bug: 8790775

Merge of https://widevine-internal-review.googlesource.com/#/c/5381/
from the Widevine CDM repository.

Change-Id: I749303eee8162f37982f6dd5d83b6cf254b96847
This commit is contained in:
Jeff Tinker
2013-05-06 16:28:32 -07:00
parent 779b887bb3
commit d0f1784615
5 changed files with 26 additions and 27 deletions

View File

@@ -115,14 +115,14 @@ class WvCdmRequestLicenseTest : public testing::Test {
// posts a request and extracts the drm message from the response
std::string GetCertRequestResponse(const std::string& server_url,
int expected_response) {
int expected_response) {
UrlRequest url_request(server_url, g_port);
if (!url_request.is_connected()) {
return "";
}
url_request.PostCertRequest(key_msg_);
url_request.PostCertRequestInQueryString(key_msg_);
std::string response;
int resp_bytes = url_request.GetResponse(response);
if (resp_bytes) {