# pets pydantic_v2.BaseModel
  > PUT https://api.example.com/v1/pets/1/photo
    [host: api.example.com, accept-encoding: gzip, deflate, accept: image/*, content-type: application/octet-stream, content-length: 14] b'native payload'
  bytes = b'native payload'
  > PUT https://api.example.com/v1/pets/1/photo
    [host: api.example.com, accept-encoding: gzip, deflate, accept: image/*, content-type: application/octet-stream, content-length: 7] b'payload'
  file entry offset = b'native payload'
  > PUT https://api.example.com/v1/pets/1/photo
    [host: api.example.com, accept-encoding: gzip, deflate, accept: image/*, content-type: application/octet-stream, content-length: 0] b''
  file past its end = b'native payload'
  > PUT https://api.example.com/v1/pets/1/photo
    [host: api.example.com, accept-encoding: gzip, deflate, accept: image/*, content-type: application/octet-stream, transfer-encoding: chunked] b'native payload'
  reader without position = b'native payload'
  > PUT https://api.example.com/v1/pets/1/photo
    [host: api.example.com, accept-encoding: gzip, deflate, accept: image/*, content-type: application/octet-stream, content-length: 14] b'native payload'
  native path = b'native payload'
  > PUT https://api.example.com/v1/pets/1/photo
    [host: api.example.com, accept-encoding: gzip, deflate, accept: image/*, content-type: application/octet-stream, content-length: 14] b'native payload'
  bytes path = b'native payload'
  > PUT https://api.example.com/v1/pets/1/photo
    [host: api.example.com, accept-encoding: gzip, deflate, accept: image/*, content-type: application/octet-stream, transfer-encoding: chunked] b'native payload'
  native iterable = b'native payload'
  > PUT https://api.example.com/v1/pets/1/photo
    [host: api.example.com, accept-encoding: gzip, deflate, accept: image/*, content-type: application/octet-stream, transfer-encoding: chunked] b''
  empty native iterable = b'native payload'
  caller file open=True offset=14
  invalid binary object ! DecodeError: DecodeError(operation_id='uploadPhoto', reason='unencodable', location='body') [operation_id='uploadPhoto', location=('body',), body_bytes=b'', truncated=False, cause=TypeError('A binary body must be bytes, a path, a binary file or an iterable of bytes')] unencodable
  invalid binary mapping ! DecodeError: DecodeError(operation_id='uploadPhoto', reason='unencodable', location='body') [operation_id='uploadPhoto', location=('body',), body_bytes=b'', truncated=False, cause=TypeError('A binary body must be bytes, a path, a binary file or an iterable of bytes')] unencodable
  string is not a path ! DecodeError: DecodeError(operation_id='uploadPhoto', reason='unencodable', location='body') [operation_id='uploadPhoto', location=('body',), body_bytes=b'', truncated=False, cause=TypeError('A binary body must be bytes, a path, a binary file or an iterable of bytes')] unencodable
  bytearray is not bytes ! DecodeError: DecodeError(operation_id='uploadPhoto', reason='unencodable', location='body') [operation_id='uploadPhoto', location=('body',), body_bytes=b'', truncated=False, cause=TypeError('A binary body must be bytes, a path, a binary file or an iterable of bytes')] unencodable
  memoryview is not bytes ! DecodeError: DecodeError(operation_id='uploadPhoto', reason='unencodable', location='body') [operation_id='uploadPhoto', location=('body',), body_bytes=b'', truncated=False, cause=TypeError('A binary body must be bytes, a path, a binary file or an iterable of bytes')] unencodable
  missing path ! DecodeError: DecodeError(operation_id='uploadPhoto', reason='unencodable', location='body') [operation_id='uploadPhoto', location=('body',), body_bytes=b'', truncated=False, cause=FileNotFoundError(2, 'No such file or directory')] unencodable
  text file is not binary ! DecodeError: DecodeError(operation_id='uploadPhoto', reason='unencodable', location='body') [operation_id='uploadPhoto', location=('body',), body_bytes=b'', truncated=False, cause=TypeError('A binary body must be bytes, a path, a binary file or an iterable of bytes')] unencodable
  closed file ! DecodeError: DecodeError(operation_id='uploadPhoto', reason='unencodable', location='body') [operation_id='uploadPhoto', location=('body',), body_bytes=b'', truncated=False, cause=ValueError('I/O operation on closed file.')] unencodable
  async file in a sync call ! DecodeError: DecodeError(operation_id='uploadPhoto', reason='unencodable', location='body') [operation_id='uploadPhoto', location=('body',), body_bytes=b'', truncated=False, cause=TypeError('A binary body must be bytes, a path, a binary file or an iterable of bytes')] unencodable
  > PUT https://api.example.com/v1/pets/1/photo
    [host: api.example.com, accept-encoding: gzip, deflate, accept: image/*, content-type: application/octet-stream, content-length: 14] b'native payload'
  async bytes = b'native payload'
  > PUT https://api.example.com/v1/pets/1/photo
    [host: api.example.com, accept-encoding: gzip, deflate, accept: image/*, content-type: application/octet-stream, content-length: 14] b'native payload'
  async conventional file = b'native payload'
  > PUT https://api.example.com/v1/pets/1/photo
    [host: api.example.com, accept-encoding: gzip, deflate, accept: image/*, content-type: application/octet-stream, content-length: 14] b'native payload'
  async native path = b'native payload'
  > PUT https://api.example.com/v1/pets/1/photo
    [host: api.example.com, accept-encoding: gzip, deflate, accept: image/*, content-type: application/octet-stream, transfer-encoding: chunked] b'native payload'
  async sync iterable = b'native payload'
  > PUT https://api.example.com/v1/pets/1/photo
    [host: api.example.com, accept-encoding: gzip, deflate, accept: image/*, content-type: application/octet-stream, transfer-encoding: chunked] b'native payload'
  native async iterable = b'native payload'
  > PUT https://api.example.com/v1/pets/1/photo
    [host: api.example.com, accept-encoding: gzip, deflate, accept: image/*, content-type: application/octet-stream, transfer-encoding: chunked] b'native payload'
  native async file = b'native payload'
  > PUT https://api.example.com/v1/pets/1/photo
    [host: api.example.com, accept-encoding: gzip, deflate, accept: image/*, content-type: application/octet-stream, transfer-encoding: chunked] b'first line\nnative payload'
  async file read in chunks = b'native payload'
  async file reads=[65536, 65536] iterated=False
  async invalid input ! DecodeError: DecodeError(operation_id='uploadPhoto', reason='unencodable', location='body') [operation_id='uploadPhoto', location=('body',), body_bytes=b'', truncated=False, cause=TypeError('A binary body must be bytes, a path, a binary file or an iterable of bytes')] unencodable
  async missing path ! DecodeError: DecodeError(operation_id='uploadPhoto', reason='unencodable', location='body') [operation_id='uploadPhoto', location=('body',), body_bytes=b'', truncated=False, cause=FileNotFoundError(2, 'No such file or directory')] unencodable
  async caller file open=True
