code: func (h *Server) PostDeploys(w http.ResponseWriter, req *http.Request) error {
  	ctx := req.Context()
  
  	opts, err := newDeployOpts(w, req)
  	if err != nil {
  		return err
  	}
  
  	_, err = h.Deploy(ctx, *opts)
  
  	// We only return the MessageRequiredError since all other errors are
  	// written to the stream.
  	switch err := err.(type) {
  	case *empire.MessageRequiredError:
  		return err
  	}
  
  	return nil
  }
docs: // ServeHTTPContext implements the Handler interface.