On Tuesday, 29 August 2017 at 15:55:50 UTC, Adam D. Ruppe wrote:
On Tuesday, 29 August 2017 at 04:41:34 UTC, graw-prog wrote:
I'm not sure what the problem is. It seems to be may the
lowercase 'utf-8' in the charset section but I'm not sure if
the problem is some mistake I made, a bug in DMD
On Tuesday, 29 August 2017 at 15:55:50 UTC, Adam D. Ruppe wrote:
http://dpldocs.info/experimental-docs/source/std.net.curl.d.html#L2470
Ow, annotated sources, cool.
pre {
box-sizing: border-box;
overflow: auto;
max-width: 800px; /* The script sets the real one */
On Tuesday, 29 August 2017 at 04:41:34 UTC, graw-prog wrote:
I'm not sure what the problem is. It seems to be may the
lowercase 'utf-8' in the charset section but I'm not sure if
the problem is some mistake I made, a bug in DMD or just lousy
xml. Either way is there any way around this issue?
On 08/29/2017 05:41 PM, Kagamin wrote:
On Tuesday, 29 August 2017 at 04:41:34 UTC, graw-prog wrote:
< Content-Type: text/xml; charset="utf-8"
Should be
Content-Type: text/xml; charset=utf-8
HTTP allows a quoted string there.
https://tools.ietf.org/html/rfc7231#section-3.1.1.1
On Tuesday, 29 August 2017 at 15:41:58 UTC, Kagamin wrote:
Should be
Content-Type: text/xml; charset=utf-8
I'm pretty sure both are equally legal.
On Tuesday, 29 August 2017 at 04:41:34 UTC, graw-prog wrote:
< Content-Type: text/xml; charset="utf-8"
Should be
Content-Type: text/xml; charset=utf-8
Hi, I'm having some trouble getting an xml file using
std.net.curl. I'm using get() to receive device info from a roku
television using this code:
char[] inputQuery(string input) {
string url = ip ~ "query/" ~ input;
auto client = HTTP();
auto content = get(url,client);