Articles tagged in: Pug



hapi — Access Request Headers

Handling request headers isn’t a use case that comes to mind immediately when thinking through the development process of your app. You might think of routes, requests, appropriate responses and the design of your views. And at some point, you’re in a more advanced development stage and see …

Continue Reading

hapi — How to Set Response Status Code

Within previous tutorials throughout this hapi series, you’ve seen a lot functionality related to the server itself, requests and authentication. This guide is the first one geared towards responses and precisely shows you how to set the response status code that follows the RFC. Before diving into the details, …

Continue Reading

Explore the Library

Find interesting tutorials and solutions for your problems.