flush
[mdref/mdref-http] / http / Client / Request / setContentType.md
diff --git a/http/Client/Request/setContentType.md b/http/Client/Request/setContentType.md
new file mode 100644 (file)
index 0000000..6422529
--- /dev/null
@@ -0,0 +1,17 @@
+# http\Client\Request http\Client\Request::setContentType(string $content_type)
+
+Set the MIME content type of the request message.
+
+## Params:
+
+* string $content_type  
+  The MIME type used as "Content-Type".
+
+## Returns:
+
+* http\Client\Request, self.
+
+
+## Errors:
+
+* HTTP_E_INVALID_PARAM, if $content_type does not follow the general "primary/secondary" notation.