Complete the code to add a 'next' pagination link in the response headers.
response.headers['Link'] = '<[1]>; rel="next"'
The 'next' link points to the next page, which is page 2 here.
Complete the code to add a 'prev' pagination link in the response headers.
response.headers['Link'] = '<[1]>; rel="prev"'
The 'prev' link points to the previous page, which is page 2 here.
Fix the error in the code to correctly format multiple pagination links in the 'Link' header.
response.headers['Link'] = '<[1]>; rel="prev", <[2]>; rel="next"'
Each link must be unique. Using the same blank twice causes both links to be identical, which is wrong. The first blank should be the previous page URL, and the second blank should be the next page URL.
Fill both blanks to correctly generate 'prev' and 'next' pagination links in the 'Link' header.
response.headers['Link'] = '<[1]>; rel="prev", <[2]>; rel="next"'
The 'prev' link points to page 1, and the 'next' link points to page 3, assuming the current page is 2.
Fill all three blanks to generate a full 'Link' header with 'first', 'prev', and 'next' pagination links.
response.headers['Link'] = '<[1]>; rel="first", <[2]>; rel="prev", <[3]>; rel="next"'
The 'first' link always points to page 1, 'prev' is page 2, and 'next' is page 3, assuming the current page is 3.