This file contains 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
#!/usr/bin/env python3 | |
import os | |
from sys import argv | |
''' | |
Adds a minimal HTTP header to files and directories and places them in 'with_headers/'. | |
Accepts files and directories as CL arguments. The directories will be traversed and all files will be processed. | |
Specifically designed for https://github.com/google/proto-quic/. | |
''' |