header can be str
add tags to gitignore
fix encoding of headers
add flask test app