{"id":10056,"date":"2019-05-08T13:42:04","date_gmt":"2019-05-08T11:42:04","guid":{"rendered":"https:\/\/hesmid.nl\/test\/?p=10056"},"modified":"2019-05-08T13:42:06","modified_gmt":"2019-05-08T11:42:06","slug":"http-headers-for-the-responsible-developer","status":"publish","type":"post","link":"https:\/\/hesmid.nl\/test\/http-headers-for-the-responsible-developer\/","title":{"rendered":"HTTP headers for the responsible developer"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.twilio.com\/blog\/a-http-headers-for-the-responsible-developer\">https:\/\/www.twilio.com\/blog\/a-http-headers-for-the-responsible-developer<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/news.ycombinator.com\/item?id=19856419\">https:\/\/news.ycombinator.com\/item?id=19856419<\/a><\/p>\n\n\n\n<p>Developers have the power to build the web for everyone, but that \npower needs to be used responsibly. What matters, in the end, is \nbuilding things that help and enable people.<\/p>\n\n\n\n<p>In this article, I want to share how HTTP headers can help you build better products for a better web for everyone.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">HTTP \u2013 HyperText Transfer Protocol<\/h3>\n\n\n\n<p>Let\u2019s talk about HTTP first. HTTP is the protocol used by computers to request and send data over the web.<\/p>\n\n\n\n<p>When a browser requests a resource&nbsp;from a server it uses HTTP. This \nrequest includes a set of key-value pairs giving information like the \nversion of the browser or what file formats it understands. These \nkey-value pairs are called <strong>request headers<\/strong>.<\/p>\n\n\n\n<p>The server answers with the requested resource\u00a0but also sends <strong>response headers<\/strong>\u00a0giving information on the resource or the server itself.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Request: <br>GET https:\/\/the-responsible.dev\/ <br>Accept: text\/html,application\/xhtml+xml,application\/xml <br>Accept-Encoding: gzip, deflate, br <br>Accept-Language: en-GB,en-US;q=0.9,en;q=0.8,de;q=0.7 ... <br><br>Response: <br>Connection: keep-alive <br>Content-Type: text\/html; charset=utf-8 Date: Mon, 11 Mar 2019 12:59:38 GMT ... Response Body <\/pre>\n\n\n\n<p>HTTP is the foundation of the web today  and it offers many ways to improve user experience. Let&#8217;s dive into how  you can use HTTP headers to build a web that is <strong>safe, affordable and respectful<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/www.twilio.com\/blog\/a-http-headers-for-the-responsible-developer\">Read the rest of the article<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/www.twilio.com\/blog\/a-http-headers-for-the-responsible-developer https:\/\/news.ycombinator.com\/item?id=19856419 Developers have the power to build the web for everyone, but that power needs to be used responsibly. What matters, in the end, is building things that help and enable people. In this article, I want to share how HTTP headers can help you build better products for a better web for everyone. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[105],"tags":[311,474,475,246],"acf":[],"_links":{"self":[{"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/posts\/10056"}],"collection":[{"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/comments?post=10056"}],"version-history":[{"count":1,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/posts\/10056\/revisions"}],"predecessor-version":[{"id":10057,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/posts\/10056\/revisions\/10057"}],"wp:attachment":[{"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/media?parent=10056"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/categories?post=10056"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/tags?post=10056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}