Fix a bug in config request in HTTP server