Laeeth Isharc
55c8505576
update curl.d documentation
...
The examples assign the results of curl functions to a string. But that doesn't work on dmd 2.068 running on arch, so I suggest we update them. Please double-check my changes as I made them very quickly as limited time.
2015-08-18 00:07:27 +01:00
Dmitry Olshansky
14e2b21e05
Revert "Merge pull request #3466 from karronoli/fix-curl-options-arg"
...
This reverts commit ea870fe080
, reversing
changes made to 70028953a9
.
2015-08-03 20:04:30 +03:00
karronoli
7877708089
Fix issue 14762
...
without clearing options in perform, curl use previous options.
- Prefer CUSTOM request by libcurl
https://github.com/bagder/curl/blob/master/lib/http.c#L1834
- Change to PUT after PUT by libcurl
https://github.com/bagder/curl/blob/master/lib/http.c#L1830
2015-07-16 01:26:32 +09:00
Dmitry Olshansky
ea870fe080
Merge pull request #3466 from karronoli/fix-curl-options-arg
...
Issue 14763 - Use optionsData argument for options function.
2015-07-14 04:29:48 +03:00
karronoli
7cbf6c6bff
Fix issue 14760
2015-07-14 02:27:35 +09:00
karronoli
6c729e9802
Fix issue 14763 - Use optionsData argument for options function.
2015-07-04 13:08:10 +09:00
Vladimir Panteleev
53e4c65968
fix Issue 14712 - GIT HEAD : std.net.curl regressions
2015-06-23 17:03:01 +00:00
Dicebot
ff14539e17
Add missing std.stdio import to std.net.curl
...
Not tested `static if` branch used `File` symbol without
having proper import
2015-06-16 00:08:10 +03:00
Robert burner Schadek
7a282178d9
curl: struct curly brace semicolon remove
2015-05-28 18:54:00 +02:00
Robert burner Schadek
787637debd
deprecate std.stream and friends
2015-05-28 06:48:28 +02:00
Andrei Alexandrescu
9b9af3196a
Revert "Prefer std.typecons.Flag over booleans for some Phobos arguments"
2015-05-16 18:26:55 -07:00
Martin Nowak
9db66454a9
Merge pull request #3281 from mrkline/more-flags
...
Prefer std.typecons.Flag over booleans for some Phobos arguments
2015-05-17 02:40:23 +02:00
Matt Kline
d04ebe0baa
Add comments and fixup capitalization of flags
2015-05-16 15:47:25 -07:00
Martin Nowak
9837730c5f
Merge pull request #3277 from MartinNowak/refCountedEscaping
...
enable ref escape checking for struct RefCounted
2015-05-16 02:01:12 +02:00
Matt Kline
6a03262f0c
Use Flags for std.curl.Curl.pause
2015-05-14 00:43:06 -07:00
Martin Nowak
9a473ab891
enable ref escape checking for struct RefCounted
2015-05-13 01:15:14 +02:00
Walter Bright
d9a9826e55
Revert "Introducing std.meta package"
2015-05-06 14:36:45 -07:00
Dicebot
82f54a38d3
TypeTuple -> MetaList inside Phobos
2015-05-05 22:22:11 +03:00
Dicebot
73f773838d
import std.typetuple -> import std.meta
2015-05-05 22:22:10 +03:00
Vladimir Panteleev
81b4dcd175
fix Issue 14535 - std.net.curl.CurlException should include status line
2015-05-05 09:30:30 +00:00
Vladimir Panteleev
1ef808d7a1
std.net.curl: Disable FTP unit tests
...
The DigitalMars FTP server no longer provides anonymous access.
2015-05-05 09:26:33 +00:00
Zach the Mystic
d58a2569ac
make comment normal
2015-03-19 01:42:42 -04:00
k-hara
e7b3d834d7
detab and remove trailing whitespaces
2015-02-10 00:56:40 +09:00
anonymous
9309f2b142
[DDoc] add HTML class "quickindex" to manually maintained jump link tables
2015-01-26 11:19:05 +01:00
Ferdinand Majerech
e91bd42e0c
and a $(D ) around CurlException
2015-01-13 22:32:52 +01:00
Ferdinand Majerech
69d12364bc
Link macro fix.
2015-01-13 22:31:22 +01:00
Ferdinand Majerech
088f0e074f
[trivial, but see notes] [DDoc] Throws: in std.net.curl.get()
...
Also added a note about needing to explicitly link `libcurl`.
====
Note:
====
I only added this for `get()` because that's what I have to use right now, but I'm pretty sure other `std.net.curl` functions need `Throws:` sections as well.
Also, a detailed explanation that `CurlException on error` (e.g. possible errors) would be better, but someone knowledgeable needs to do it.
2015-01-13 22:27:26 +01:00
Andrei Alexandrescu
cb044b02aa
Verbatim-related changes in phobos
2015-01-12 00:05:36 -08:00
Andrei Alexandrescu
a13cee766d
Ensure each module has a description at the top.
2015-01-11 14:14:29 -08:00
Clement
bc13f1941c
constify isemail props
2015-01-09 17:04:14 +01:00
Ilya Yaroshenko
2c744b54e1
std.range: constraints => primitives
...
See discussion and voting in #2661
2014-11-23 20:05:20 +03:00
H. S. Teoh
85f339c8cc
Merge pull request #2750 from MartinNowak/curl2
...
ThrowOnError flag for curl
2014-11-22 08:17:12 -08:00
Martin Nowak
8211903e21
allow to specify throwOnError for high-level wrappers
...
- in HTTP, FTP, SMTP perform
2014-11-22 15:39:09 +01:00
Martin Nowak
99ba1e1b61
use a Flag!"throwOnError" for Curl.perform
2014-11-22 15:39:08 +01:00
Ilya Yaroshenko
c8d9afedea
clean scope imports
...
imports of `std.range, std.algorithm, std.array, std.string,
std.format, std.uni` are affected.
2014-11-21 00:08:35 +03:00
Martin Nowak
48f147bf40
use lower-case flag strings
...
- so that Yes.keepTerminator/No.keepTerminator don't look so weird
2014-11-17 20:37:18 +01:00
Ilya Yaroshenko
76eebfe49a
use Flag!"KeepTerminator"
...
CaseSensitive -> Flag
remove Yes/No
remove public keyword
2014-11-17 03:32:32 +03:00
Ilya Yaroshenko
7d421c7e77
Use scope imports in std.net.isemail
...
remove commented code
2014-11-15 02:16:42 +03:00
Andrei Alexandrescu
779f086ad2
Merge pull request #2581 from schuetzm/proxyuserpwd
...
Add setProxyAuthentication() in std.net.curl
2014-10-19 12:29:37 -07:00
Geod24
0fb95b8c27
Usage of WEB macro for License everywhere
2014-10-15 11:30:42 +02:00
Marc Schütz
ca7b4faf4b
Add setProxyAuthentication() in std.net.curl
2014-10-05 10:39:16 +02:00
Martin Nowak
f0b69e3172
doc comment for setCookie
2014-09-26 03:12:56 +02:00
Geod24
7100047473
Replace enforceEx with enforce where it's possible
2014-08-25 12:18:02 +02:00
Denis Shelomovskij
ff144b0ae0
Replace most toStringz
/toUTF16z
/toUTFz
usages with tempCString*
ones.
...
Only non-trivial cases left when a refactoring is required to use a temporary buffer.
Also add `nothrow`/`@nogc` attributes.
2014-08-23 17:23:13 +04:00
H. S. Teoh
556625b7e6
Fix ddoc params abuse in std.net.curl.SMTP.onProgress.
2014-08-14 19:14:32 -07:00
H. S. Teoh
7c30e216dd
Fix ddoc params abuse for std.net.curl.FTP.onProgress.
...
Refactor callback params as macro to minimize copy-n-paste.
2014-08-14 19:14:32 -07:00
H. S. Teoh
ecb39e9d98
Fix ddoc params abuse in std.net.curl.HTTP.onProgress.
2014-08-14 19:10:59 -07:00
Михаил Страшун
f901a2d0c2
Merge pull request #1527 from quickfur/post_contentType
...
std.net.curl: Allow user to specify Content-Type in POST requests
2014-07-13 00:40:02 +03:00
H. S. Teoh
d2116889a6
Expand ddoc.
2014-07-12 07:31:37 -07:00
H. S. Teoh
378d01629b
Add method for std.net.curl.HTTP that allows user to specify Content-Type.
2014-07-11 16:43:29 -07:00