code: def end_request(self):
          
          if not self._chunked:
              return
          trailers = [(n, get_header(self._headers, n)) for n in self._trailer] \
                          if self._trailer else None
          ending = create_chunked_body_end(trailers)
          self._protocol.writer.write(ending)
docs: End the request body.