Handled some HTTP request stuff