擅长:python、mysql、java
<p>有一个纯python HTTP解析器作为C/Cython优化的<a href="https://github.com/benoitc/http-parser" rel="nofollow">http-parser</a>项目实现的回退实现提供。</p>
<p>以下是纯python版本:</p>
<ul>
<li><a href="https://github.com/benoitc/http-parser/blob/master/http_parser/pyparser.py" rel="nofollow">https://github.com/benoitc/http-parser/blob/master/http_parser/pyparser.py</a></li>
</ul>
<p>这里是C版本和Cython包装器的源代码:</p>
<ul>
<li><a href="https://github.com/benoitc/http-parser/blob/master/http_parser/http_parser.c" rel="nofollow">https://github.com/benoitc/http-parser/blob/master/http_parser/http_parser.c</a></li>
<li><a href="https://github.com/benoitc/http-parser/blob/master/http_parser/parser.pyx" rel="nofollow">https://github.com/benoitc/http-parser/blob/master/http_parser/parser.pyx</a></li>
</ul>