trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r991025 - /trafficserver/site/trunk/docs/v2/admin/trouble.htm
Date Mon, 30 Aug 2010 23:35:10 GMT
Author: mlibbey
Date: Mon Aug 30 23:35:10 2010
New Revision: 991025

Add documentation for HTTP Expect: Header


Modified: trafficserver/site/trunk/docs/v2/admin/trouble.htm
--- trafficserver/site/trunk/docs/v2/admin/trouble.htm (original)
+++ trafficserver/site/trunk/docs/v2/admin/trouble.htm Mon Aug 30 23:35:10 2010
@@ -31,6 +31,7 @@ FAQs</p>
    <li><a href="#0_84580">Can Traffic Server run in both forward proxy and reverse
proxy mode at the same time?</a></li>
    <li><a href="#enable_forward_proxy">How do I enable forward proxy mode?</a></li>
    <li><a href="#interpret_via_header">How do I interpret the Via: header code?</a></li>
+   <li><a href="#expect_header">Support for HTTP Expect: Header</a></li>
   <a name="0_41244"></a><em>How do you create a raw disk for the cache
if all your disks have mounted file systems?</em></h3>
@@ -583,6 +584,30 @@ codes
+<h3><a name="Support_for_HTTP_Expect_Header"></a> Support for HTTP Expect:
Header </h3>
+Traffic Server currently does not handle request Expect: headers according to the HTTP/1.1
+<p />
+Note that clients such as cURL automatically send Expect: for POST requests with large POST
bodies, with a 1 second timeout if a 100 Continue response is not received.  To avoid the
timeout when using cURL as a client to Traffic Server, you can turn off the Expect: header
as follows:
+<p />
+command line:
+<pre class="example">
+curl -H"Expect:"
+<p />
+C (libcurl):
+<pre class="example">
+struct curl_slist *header_list=NULL;
+header_list = curl_slist_append(header_list, "Expect:"); 
+curl_easy_setopt(my_curlp, CURLOPT_HTTPHEADER, header_list); 
+<p />
+<pre class="example">
+curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:')); 

View raw message