title: How to send a request to another server in a django view?
body: <p>I want to send an <code>http</code> request to another server in my <code>django view</code> like this:</p>
  
  <pre><code>def django_view(request):
      response = send_request('http://example.com')
      result = do_something_with_response(response)
      return HttpResponse(result)
  </code></pre>
  
  <p>How can I do that?</p>