<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Protocol on Shaowen Chen's Website</title><link>https://www.chenshaowen.com/en/tags/protocol/</link><description>Recent content in Protocol on Shaowen Chen's Website</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>&amp;copy;2016 - {year}, All Rights Reserved.</copyright><lastBuildDate>Wed, 11 May 2022 19:51:48 +0000</lastBuildDate><sy:updatePeriod>weekly</sy:updatePeriod><atom:link href="https://www.chenshaowen.com/en/tags/protocol/atom.xml" rel="self" type="application/rss+xml"/><item><title>Installing Thanos from Binaries</title><link>https://www.chenshaowen.com/en/blog/install-thanos-using-binary.html</link><pubDate>Wed, 11 May 2022 19:51:48 +0000</pubDate><atom:modified>Wed, 11 May 2022 19:51:48 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/install-thanos-using-binary.html</guid><description>1. Download the Binaries 1 2 3 4 wget https://github.com/thanos-io/thanos/releases/download/v0.26.0/thanos-0.26.0.linux-amd64.tar.gz tar xvf thanos-0.26.0.linux-amd64.tar.gz mv thanos-0.26.0.linux-amd64/thanos /usr/bin/ rm -rf thanos-0.26.0.linux-amd64* 2. Install Thanos Query 1 vim /etc/systemd/system/thanos-query.service 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 [Unit] Description=Thanos Query After=network-online.target [Service] Restart=on-failure ExecStart=/usr/bin/thanos query \ --log.</description><dc:creator>WeChat Official Account</dc:creator><category>Monitoring</category><category>Thanos</category><category>Protocol</category><category>Prometheus</category><category>Operations</category><category>Observability</category><category>Learning</category></item><item><title>Content-Type in the HTTP Header</title><link>https://www.chenshaowen.com/en/blog/content-type-http-header.html</link><pubDate>Sat, 30 Dec 2017 00:00:00 +0000</pubDate><atom:modified>Sat, 30 Dec 2017 00:00:00 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/content-type-http-header.html</guid><description>1. HTTP Header The HTTP protocol is an application-layer specification built on top of TCP/IP, transmitted as ASCII text. The HTTP specification divides an HTTP request into three parts: the status line, the request headers, and the message body. Something like this:
1 2 3 4 5 &amp;lt;method&amp;gt;&amp;lt;request-URL&amp;gt;&amp;lt;version&amp;gt; &amp;lt;headers&amp;gt; &amp;lt;entity-body&amp;gt; An HTTP header falls into four categories: general headers, request headers, response headers, and entity headers.</description><dc:creator>WeChat Official Account</dc:creator><category>HTTP</category><category>Interface</category><category>Backend</category><category>Protocol</category><category>R&amp;D</category></item></channel></rss>