title: How do I access response headers while using RxJava2 and Retrofit2?
body: <h2>The Premise</h2>
  
  <p>I'm working on a simple app where I want to list out a user's GitHub repos in a RecyclerView. I'm using <a href="https://api.github.com/users/libhide/repos" rel="noreferrer">this</a> as my endpoint while building this. </p>
  
  <h2>The Problem</h2>
  
  <p>The problem I'm facing is that the GitHub API returns only 30 repos in one go. To get more, I can append a <code>per_page=100</code> (100 is the maximum) to my query string; <strong>But</strong>, what do we do about users with more than 100 repos?</p>
  
  <p>The solution the API <a href="https://developer.github.com/v3/guides/traversing-with-pagination/#basics-of-pagination" rel="noreferrer">docs</a> provide is to get the <code>next;</code> url from the "Link" response header to make a second API call. </p>
  
  <p>How does one go about this? Thanks!</p>