converted to pep8 style

Hi!
I found link_header.py contains tab indents.
This PR is based on PEP8 like:

* replacing to tab to 4 characters
* separating 2 lines for each functions
* removing a space within brackets

Thanks!