aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-12-05 13:39:25 +0100
committerMicael Karlberg <[email protected]>2011-12-05 13:39:25 +0100
commit35afc84d71ae5152a78cc03c3740c37fdf54e734 (patch)
tree4d6f461d57725e7d24f3eb9ef4229b0be74aeb62
parentb90d8b80b7c13771e998bf61c2d3f1f59037956c (diff)
parent51cdfd426da45a6fb28cbbf02295e50fbbf83ee9 (diff)
downloadotp-35afc84d71ae5152a78cc03c3740c37fdf54e734.tar.gz
otp-35afc84d71ae5152a78cc03c3740c37fdf54e734.tar.bz2
otp-35afc84d71ae5152a78cc03c3740c37fdf54e734.zip
Merge branch 'bmk/inets/inets58_integration2'
-rw-r--r--lib/inets/doc/src/httpc.xml2
-rw-r--r--lib/inets/doc/src/notes.xml15
2 files changed, 17 insertions, 0 deletions
diff --git a/lib/inets/doc/src/httpc.xml b/lib/inets/doc/src/httpc.xml
index 730efb729f..48a2089605 100644
--- a/lib/inets/doc/src/httpc.xml
+++ b/lib/inets/doc/src/httpc.xml
@@ -408,6 +408,8 @@ apply(Module, Function, [ReplyInfo | Args])
<p>Defaults to the <c>pid()</c> of the process calling the request
function (<c>self()</c>). </p>
+
+ <marker id="ipv6_host_with_brackets"></marker>
</item>
<tag><c><![CDATA[ipv6_host_with_brackets]]></c></tag>
diff --git a/lib/inets/doc/src/notes.xml b/lib/inets/doc/src/notes.xml
index c9944964e4..369762d0c6 100644
--- a/lib/inets/doc/src/notes.xml
+++ b/lib/inets/doc/src/notes.xml
@@ -50,6 +50,21 @@
<p>Own Id: OTP-9545</p>
</item>
+ <item>
+ <p>[httpc] Wrong Host header in IPv6 HTTP requests.
+ When a URI with a IPv6 host is parsed, the brackets that encapsulates
+ the address part is removed. This value is then supplied as the host
+ header. This can cause problems with some servers.
+ A workaround for this is to use headers_as_is and provide the host
+ header with the requst call.
+ To solve this a new option has been added,
+ <seealso marker="httpc#ipv6_host_with_brackets">ipv6_host_with_brackets</seealso>.
+ This option specifies if the host value of the host header shall
+ include the brackets or not. By default, it does not (as before).
+ </p>
+ <p>Own Id: OTP-9628</p>
+ </item>
+
</list>
</section>