MCPcopy Create free account
hub / github.com/anomalyco/opencode-sdk-python / _validate_headers

Method _validate_headers

src/opencode_ai/_base_client.py:661–670  ·  view source on GitHub ↗

Validate the given default headers and custom headers. Does nothing by default.

(
        self,
        headers: Headers,  # noqa: ARG002
        custom_headers: Headers,  # noqa: ARG002
    )

Source from the content-addressed store, hash-verified

659 }
660
661 def _validate_headers(
662 self,
663 headers: Headers, # noqa: ARG002
664 custom_headers: Headers, # noqa: ARG002
665 ) -> None:
666 """Validate the given default headers and custom headers.
667
668 Does nothing by default.
669 """
670 return
671
672 @property
673 def user_agent(self) -> str:

Callers 1

_build_headersMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected