title: Python requests: URL base in Session
body: <p>When using a Session, it seems you need to provide the full URL each time, e.g.</p>
  
  <pre><code>session = requests.Session()
  session.get('http://myserver/getstuff')
  session.get('http://myserver/getstuff2')
  </code></pre>
  
  <p>This gets a little tedious. Is there a way to do something like:</p>
  
  <pre><code>session = requests.Session(url_base='http://myserver')
  session.get('/getstuff')
  session.get('/getstuff2')
  </code></pre>