This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <memory> | |
| #include <iostream> | |
| #include <cstdio> | |
| /** | |
| * @file safe_ptr.h | |
| * @author vacingfang | |
| * @version 0.1, 2025-08-14, init version | |
| * @version 0.11, 2025-08-20, more comments | |
| * @brief |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| import re | |
| from StringIO import StringIO | |
| # modify from: https://github.com/simon-engledew/python-chunks | |
| # ref: https://github.com/jchristn/ChunkDecoder | |
| ''' | |
| Usage: | |
| decode_http_chunked.py file_in file_out |