class Radbas::HeadHandler

Overview

Drops the response body of HEAD requests, while keeping the headers of the matching GET response.

Add it before the application when using HTTP::Server directly, ApplicationServer does so already.

Included Modules

Defined in:

radbas-framework/head_handler.cr

Instance Method Summary

Instance Method Detail

def call(context : HTTP::Server::Context) : Nil #

[View source]