added some stuff to httprequest