Closed vbanos closed 5 years ago
We used self.headers.getheader which no longer works. We replace it with self.headers.get.
self.headers.getheader
self.headers.get
We change the code to write binary data to self.wfile because we get an exception for writing str and/or None.
self.wfile
We used
self.headers.getheader
which no longer works. We replace it withself.headers.get
.We change the code to write binary data to
self.wfile
because we get an exception for writing str and/or None.