pedestal / pedestal-docs

Documentation for Pedestal.
http://pedestal.io
42 stars 55 forks source link

Cleanups and a deep-dive on reloading at the REPL #168

Closed hlship closed 2 years ago

hlship commented 2 years ago

I didn't think it was a significant enough change to warrant a code block; it's one obvious change to the named function, which itself is trivial.

On Tue, Nov 22, 2022 at 8:03 AM Mateus Dubiela Oliveira < @.***> wrote:

@.**** commented on this pull request.

In content/guides/live-repl.adoc https://github.com/pedestal/pedestal-docs/pull/168#discussion_r1029531650 :

+Strict-Transport-Security: max-age=31536000; includeSubdomains +Transfer-Encoding: chunked +X-Content-Type-Options: nosniff +X-Download-Options: noopen +X-Frame-Options: DENY +X-Permitted-Cross-Domain-Policies: none +X-XSS-Protection: 1; mode=block + +Hello, World! + +`` +So far, so good. You can also see that Pedestal's default set of interceptors has added a number of security-related +headers to the response. + +Now we're ready to make a change. Let's change the response body to beHello, Clojure World!. +We can change thehello-handler` function, reload the namespace, and:

Shouldn't you show how this change was made?

— Reply to this email directly, view it on GitHub https://github.com/pedestal/pedestal-docs/pull/168#pullrequestreview-1190351923, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAM3NFWRMHWANAVIVUJRULWJTVE7ANCNFSM6AAAAAASFATW6A . You are receiving this because you were assigned.Message ID: @.***>

-- Howard M. Lewis Ship

Senior Staff Software Engineer at NuBank