<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Http - 分类 - 研发日志 · R&amp;D Log</title><link>https://rd163.visword.com/categories/http/</link><description>Http - 分类 - 研发日志 · R&amp;D Log</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>whutluohui@gmail.com (小智晖)</managingEditor><webMaster>whutluohui@gmail.com (小智晖)</webMaster><copyright>本作品采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可。</copyright><lastBuildDate>Sun, 12 Jan 2025 00:00:00 +0800</lastBuildDate><atom:link href="https://rd163.visword.com/categories/http/" rel="self" type="application/rss+xml"/><item><title>CSRF</title><link>https://rd163.visword.com/posts/http-csrf/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/http-csrf/</guid><description><![CDATA[<h1 id="csrf" class="headerLink">
    <a href="#csrf" class="header-mark"></a>CSRF</h1><p>CSRF 是指跨站的请求伪造，这种攻击方法会强迫使用者在他们已经验证身份的网站中，执行某些恶意的伪造操作，因为已经验证过该使用者，所以网站就会以操作来自该使用者，因此接受了该操作。举例来说，某个使用者登入银行帐户后，去逛别的网站，但不小心点开恶意网站，该恶意网站中的代码用这名使用者的名义，进行未经同意的转帐操作。</p>]]></description></item><item><title>HTTP 相关的库</title><link>https://rd163.visword.com/posts/http-libs/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/http-libs/</guid><description><![CDATA[<h1 id="http-相关的库" class="headerLink">
    <a href="#http-%e7%9b%b8%e5%85%b3%e7%9a%84%e5%ba%93" class="header-mark"></a>HTTP 相关的库</h1><h2 id="c-语言" class="headerLink">
    <a href="#c-%e8%af%ad%e8%a8%80" class="header-mark"></a>C 语言</h2><p><strong>libmicrohttpd</strong></p>
<p>libmicrohttpd 是 GUN 下开源的一个小型的 HTTP 库，能够方便的嵌入到系统中。支持 HTTP 1.1 可以同时侦听多个端口，具有 select, poll, pthread, thread poo 等多种模式，库平台支持 GNU/Linux, FreeBSD, OpenBSD, NetBSD, Android, Darwin (macOS), W32, OpenIndiana/Solaris, z/OS 等。</p>]]></description></item><item><title>Open Graph Protocol（开放图谱协议）</title><link>https://rd163.visword.com/posts/open-graph-protocol/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/open-graph-protocol/</guid><description><![CDATA[<h1 id="open-graph-protocol开放图谱协议" class="headerLink">
    <a href="#open-graph-protocol%e5%bc%80%e6%94%be%e5%9b%be%e8%b0%b1%e5%8d%8f%e8%ae%ae" class="header-mark"></a>Open Graph Protocol（开放图谱协议）</h1><p>Open Graph Protocol（开放图谱协议），简称 OG 协议。它是 Facebook 在 2010 年 F8 开发者大会公布的一种网页元信息（Meta Information）标记协议，属于 Meta Tag （Meta 标签）的范畴，是一种为社交分享而生的 Meta 标签，用于标准化网页中元数据的使用，使得社交媒体得以以丰富的“图形”对象来表示共享的页面内容。它允许在 Facebook 上，其他网站能像 Facebook 内容一样具有丰富的“图形”对象，进而促进 Facebook 和其他网站之间的集成。</p>]]></description></item><item><title>跨域资源共享 CORS 详解</title><link>https://rd163.visword.com/posts/http-cors/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/http-cors/</guid><description><![CDATA[<h1 id="跨域资源共享-cors-详解" class="headerLink">
    <a href="#%e8%b7%a8%e5%9f%9f%e8%b5%84%e6%ba%90%e5%85%b1%e4%ba%ab-cors-%e8%af%a6%e8%a7%a3" class="header-mark"></a>跨域资源共享 CORS 详解</h1><h2 id="简介" class="headerLink">
    <a href="#%e7%ae%80%e4%bb%8b" class="header-mark"></a>简介</h2><p>CORS 是一个 W3C 标准，全称是“跨域资源共享”（Cross-origin resource sharing）。
CORS 允许在浏览器中运行的Web应用程序访问不同域名下的资源，以实现跨域通信。</p>]]></description></item></channel></rss>