Implements better handling of non-200 HTTP responses
Ignores the log directory