Python Post Request With Headers And Footer