aboutsummaryrefslogtreecommitdiff
path: root/lib/http2.c
diff options
context:
space:
mode:
authorMohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>2016-01-09 00:50:38 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-01-11 23:38:42 +0100
commit3d209b5fb0c792655288758d48a2703b88a84145 (patch)
treec9846f65273bee6baeb21e365ba8c1d6c33dfe96 /lib/http2.c
parentebfe00c05001f9830aefb0ea10cdeccc4f27c66b (diff)
lib: Prefix URLs with lower-case protocol names/schemes
Before this patch, if a URL does not start with the protocol name/scheme, effective URLs would be prefixed with upper-case protocol names/schemes. This behavior might not be expected by library users or end users. For example, if `CURLOPT_DEFAULT_PROTOCOL` is set to "https". And the URL is "hostname/path". The effective URL would be "HTTPS://hostname/path" instead of "https://hostname/path". After this patch, effective URLs would be prefixed with a lower-case protocol name/scheme. Closes #597 Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
Diffstat (limited to 'lib/http2.c')
0 files changed, 0 insertions, 0 deletions