# Sending custom http response headers

**URL:** <https://forum.ghost.org/t/sending-custom-http-response-headers/9472>\
**Category:** Developer help\
**Created:** [October 11, 2019, 7:12pm UTC](https://forum.ghost.org/t/sending-custom-http-response-headers/9472 "2019-10-11T19:12:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luciandavidescu](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/luciandavidescu/32/2270_2.png) [@luciandavidescu](https://forum.ghost.org/u/luciandavidescu)\
**Post date:** [October 11, 2019, 7:12pm UTC](https://forum.ghost.org/t/sending-custom-http-response-headers/9472/1 "2019-10-11T19:12:08Z")

</div>

Is there any way to set custom http headers from within the theme?  
( the equivalent of nginx’s `add_header X-foo "bar";` or like it’s done in wordpress php `header("X-foo:bar");` )
