Handles string type for http_server