<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[TuxFamily's forum — Répondre aux requêtes HEAD]]></title>
		<link>/topic/646/repondre-aux-requetes-head/</link>
		<atom:link href="https://forum.tuxfamily.org/feed/rss/topic/646/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Répondre aux requêtes HEAD.]]></description>
		<lastBuildDate>Tue, 09 Dec 2014 14:23:39 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Répondre aux requêtes HEAD]]></title>
			<link>/post/2871/#p2871</link>
			<description><![CDATA[<p>Mouais, chez moi ça marche:</p><p>$ HEAD <a href="http://plugfr.org">http://plugfr.org</a><br />200 OK<br />Connection: close<br />Date: Tue, 09 Dec 2014 14:23:08 GMT<br />Accept-Ranges: bytes<br />ETag: &quot;31c029c-3dbc-5092335a40400&quot;<br />Server: Apache<br />Vary: Accept-Encoding<br />Content-Length: 15804<br />Content-Type: text/html<br />Last-Modified: Mon, 01 Dec 2014 08:15:12 GMT<br />Client-Date: Tue, 09 Dec 2014 14:23:08 GMT<br />Client-Peer: 212.85.158.4:80<br />Client-Response-Num: 1</p><p>$ curl --head <a href="http://plugfr.org">http://plugfr.org</a><br />HTTP/1.1 200 OK<br />Date: Tue, 09 Dec 2014 14:24:47 GMT<br />Server: Apache<br />Last-Modified: Mon, 01 Dec 2014 08:15:12 GMT<br />ETag: &quot;31c029c-3dbc-5092335a40400&quot;<br />Accept-Ranges: bytes<br />Content-Length: 15804<br />Vary: Accept-Encoding<br />Content-Type: text/html</p><p>En direct de la doc de curl:&nbsp; <em>-X: This option only changes&nbsp; the&nbsp; actual&nbsp; word&nbsp; used&nbsp; in&nbsp; the&nbsp; HTTP request,&nbsp; it does not alter the way curl behaves. So for example if you want to make a proper HEAD request, using&nbsp; -X&nbsp; HEAD&nbsp; will not suffice. You need to use the -I, --head option.</em></p><p>Sylvain</p>]]></description>
			<author><![CDATA[null@example.com (gradator)]]></author>
			<pubDate>Tue, 09 Dec 2014 14:23:39 +0000</pubDate>
			<guid>/post/2871/#p2871</guid>
		</item>
		<item>
			<title><![CDATA[Répondre aux requêtes HEAD]]></title>
			<link>/post/2870/#p2870</link>
			<description><![CDATA[<p>Salut à tous,</p><p>Je me suis rendu compte que le serveur Apache de TuxFamily ne répond pas aux requêtes HEAD sur les sites hébergés, du moins pas sur le nôtre :</p><div class="codebox"><pre><code>→ curl -XHEAD http://plugfr.org
curl: (18) transfer closed with 15804 bytes remaining to read</code></pre></div><p>Du coup, ça donne ça : <a href="https://updown.io/yfew">https://updown.io/yfew</a></p><p>Rien de grave, mais c&#039;est assez dommage.<br />J&#039;imagine qu&#039;il y a une raison technique à ne pas supporter cette méthode, mais je n&#039;arrive pas à la trouver ;)</p><br /><p>Sinon encore merci pour le super boulot que vous faites. Bravo.</p>]]></description>
			<author><![CDATA[null@example.com (plug)]]></author>
			<pubDate>Tue, 09 Dec 2014 10:59:41 +0000</pubDate>
			<guid>/post/2870/#p2870</guid>
		</item>
	</channel>
</rss>
