Issues with adding response headers to mock example

Are there any limitations to adding response headers to a mock server example? I was able to add simple headers but I had one with hyphens and also with brackets. It seemed to add but when I ran the request, it did not show up in the response headers or in the console.