> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# http_response_* 세션 설정

> http_response_* 생성 그룹에 속한 ClickHouse 세션 설정입니다.

export const SettingsInfoBlock = ({type, default_value, changeable_without_restart}) => {
  return <div className="not-prose" style={{
    display: "flex",
    flexWrap: "wrap",
    alignItems: "baseline",
    columnGap: "0.5rem",
    rowGap: "0.125rem",
    margin: "0.375rem 0",
    fontSize: "0.8125rem",
    lineHeight: "1.125rem"
  }}>
      <div style={{
    fontWeight: 600,
    opacity: 0.72
  }}>유형</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{type}</div>
      <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>기본값</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{default_value}</div>
      {changeable_without_restart && <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>
          재시작 없이 변경 가능
        </div>}
      {changeable_without_restart && <div style={{
    overflowWrap: "anywhere"
  }}>
          {changeable_without_restart}
        </div>}
    </div>;
};

이러한 설정은 [system.settings](/docs/ko/reference/system-tables/settings)에서 사용할 수 있으며, [소스](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp)를 기반으로 자동 생성됩니다.

<div id="http_response_buffer_size">
  ## http\_response\_buffer\_size
</div>

<SettingsInfoBlock type="UInt64" default_value="0" />

HTTP 응답을 클라이언트에 보내거나(`http_wait_end_of_query`가 활성화된 경우) 디스크로 플러시하기 전에 서버 메모리에 버퍼링할 바이트 수입니다.

<div id="http_response_headers">
  ## http\_response\_headers
</div>

<SettingsInfoBlock type="Map" default_value="{}" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "24.12"},{"label": ""},{"label": "새 설정입니다."}]}]} />

성공한 쿼리의 쿼리 결과와 함께 서버가 응답으로 반환할 HTTP 헤더를 추가하거나 재정의할 수 있습니다.
이 설정은 HTTP 인터페이스에만 영향을 줍니다.

헤더가 이미 기본값으로 설정되어 있으면 제공된 값으로 재정의됩니다.
헤더가 기본값으로 설정되어 있지 않으면 헤더 목록에 추가됩니다.
서버가 기본적으로 설정하고 이 설정으로 재정의되지 않은 헤더는 그대로 유지됩니다.

이 설정을 사용하면 헤더를 상수 값으로 설정할 수 있습니다. 현재는 동적으로 계산된 값으로 헤더를 설정하는 방법이 없습니다.

이름과 값에는 모두 ASCII 제어 문자를 포함할 수 없습니다.

사용자가 설정을 수정할 수 있도록 허용하는 UI 애플리케이션을 구현하는 동시에, 반환된 헤더를 기준으로 의사결정을 수행하는 경우 이 설정을 `readonly`로 제한하는 것이 좋습니다.

예시: `SET http_response_headers = $${'Content-Type': 'image/png'}$$`
