prevent error when client does not send content-type header (WSGI)
improve config loading for relative paths