We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 063a5b1 commit aef528aCopy full SHA for aef528a
tests/PHPCurlClass/PHPCurlClassTest.php
@@ -466,12 +466,15 @@ public function testNestedData()
466
);
467
}
468
469
- public function testPostContentTypes()
+ public function testPostUrlEncodedContentType()
470
{
471
$test = new Test();
472
$test->server('server', 'POST', 'foo=bar');
473
$this->assertEquals($test->curl->request_headers['Content-Type'], 'application/x-www-form-urlencoded');
474
+ }
475
476
+ public function testPostFormDataContentType()
477
+ {
478
479
$test->server('server', 'POST', array(
480
'foo' => 'bar',
0 commit comments