fixed httpd_data_handler()