From 777102b2a42c20b5fc14fdf989d214c2376fe711 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 28 Aug 2025 11:05:29 -0400 Subject: src/ext_deplends updated arsd:{core.d,cgi.d} --- src/ext_depends/arsd/cgi.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ext_depends/arsd/cgi.d') diff --git a/src/ext_depends/arsd/cgi.d b/src/ext_depends/arsd/cgi.d index 0af9f25..d1d2ad1 100644 --- a/src/ext_depends/arsd/cgi.d +++ b/src/ext_depends/arsd/cgi.d @@ -2735,7 +2735,7 @@ class Cgi { } // closing the last chunk... - if(nph && rawDataOutput !is null && responseChunked) + if(requestMethod != RequestMethod.HEAD && nph && rawDataOutput !is null && responseChunked) rawDataOutput(cast(const(ubyte)[]) "0\r\n\r\n"); if(flushDelegate) @@ -3132,7 +3132,7 @@ struct Uri { string scheme; /// e.g. "http" in "http://example.com/" string userinfo; /// the username (and possibly a password) in the uri - string host; /// the domain name + string host; /// the domain name. note it may be an ip address or have percent encoding too. int port; /// port number, if given. Will be zero if a port was not explicitly given string path; /// e.g. "/folder/file.html" in "http://example.com/folder/file.html" string query; /// the stuff after the ? in a uri -- cgit v1.2.3