add http usage; check if url attr availble