From f67b7861113dd876e9e2caed8c237ad950feec0a Mon Sep 17 00:00:00 2001 From: bserie Date: Tue, 16 May 2017 09:59:22 +0200 Subject: [PATCH] indication SNI --- HowtocURL.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HowtocURL.md b/HowtocURL.md index 141564ea..e6e61e3b 100644 --- a/HowtocURL.md +++ b/HowtocURL.md @@ -59,13 +59,13 @@ $ curl -A "Mozilla/5.0 (compatible; evolix; http://evolix.com)" http://example.c Avec cette astuce, inutile de modifier `/etc/hosts`, ce qui est très pratique. -Avec un en-tête `Host` forcé : +Avec un en-tête `Host` forcé (ne gère pas le SNI) : ~~~ $ curl http://192.0.2.1:8080/foo/bar -H 'Host: www.example.com' ~~~ -Avec une résolution forcée (`--resolve`, à partir de 7.21.3) : +Avec une résolution forcée (`--resolve`, à partir de 7.21.3, gère le SNI) : ~~~ $ curl --resolve www.example.com:443:192.0.2.1 https://www.example.com/foo/bar