mirror of
https://github.com/dlang/phobos.git
synced 2025-05-01 07:30:33 +03:00
detab and remove trailing whitespaces
This commit is contained in:
parent
799fdf81ad
commit
e7b3d834d7
15 changed files with 58 additions and 58 deletions
|
@ -2693,14 +2693,14 @@ struct HTTP
|
||||||
* "application/octet-stream". See also:
|
* "application/octet-stream". See also:
|
||||||
* $(LINK2 http://en.wikipedia.org/wiki/Internet_media_type,
|
* $(LINK2 http://en.wikipedia.org/wiki/Internet_media_type,
|
||||||
* Internet media type) on Wikipedia.
|
* Internet media type) on Wikipedia.
|
||||||
*-----
|
* -----
|
||||||
* import std.net.curl;
|
* import std.net.curl;
|
||||||
* auto http = HTTP("http://onlineform.example.com");
|
* auto http = HTTP("http://onlineform.example.com");
|
||||||
* auto data = "app=login&username=bob&password=s00perS3kret";
|
* auto data = "app=login&username=bob&password=s00perS3kret";
|
||||||
* http.setPostData(data, "application/x-www-form-urlencoded");
|
* http.setPostData(data, "application/x-www-form-urlencoded");
|
||||||
* http.onReceive = (ubyte[] data) { return data.length; };
|
* http.onReceive = (ubyte[] data) { return data.length; };
|
||||||
* http.perform();
|
* http.perform();
|
||||||
*-----
|
* -----
|
||||||
*/
|
*/
|
||||||
void setPostData(const(void)[] data, string contentType)
|
void setPostData(const(void)[] data, string contentType)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue