Returns a promise that resolves to the response as a string.
text()
A promise that resolves to a string.
fetch('https://www.rfc-editor.org/rfc/rfc2616.txt')
.then(r => r.text())
.then(s => print(x.split('\n')[23].trim()))
Hypertext Transfer Protocol -- HTTP/1.1