0
Zend Expressive 2 (HtmlResponse 포함)의 응답에 헤더를 변경하거나 추가하는 방법은 무엇입니까?Zend Expressive에서 헤더를 변경하거나 추가하는 방법
class NotModifiedMiddleware implements ServerMiddlewareInterface
{
/**
* Process an incoming server request and return a response, optionally delegating
* to the next middleware component to create the response.
*
* @param ServerRequestInterface $request
* @param DelegateInterface $delegate
*
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, DelegateInterface $delegate)
{
}
}