code: func (h *Handler) handleGetFragmentBlockData(w http.ResponseWriter, r *http.Request) {
  	buf, err := h.api.FragmentBlockData(r.Context(), r.Body)
  	if err != nil {
  		if _, ok := err.(pilosa.BadRequestError); ok {
  			http.Error(w, err.Error(), http.StatusBadRequest)
  		} else if errors.Cause(err) == pilosa.ErrFragmentNotFound {
  			http.Error(w, err.Error(), http.StatusNotFound)
  		} else {
  			http.Error(w, err.Error(), http.StatusInternalServerError)
  		}
  		return
  	}
  
  	// Write response.
  	w.Header().Set("Content-Type", "application/protobuf")
  	w.Header().Set("Content-Length", strconv.Itoa(len(buf)))
  	_, err = w.Write(buf)
  	if err != nil {
  		h.logger.Printf("writing fragment/block/data response: %v", err)
  	}
  }
docs: // handleGetFragmentBlockData handles GET /internal/fragment/block/data requests.