code: @Override
      public HeaderAndBody put(String id, byte[] data) throws RuntimeException {
          HttpURLConnection urlConnection = null;
  
          try {
              urlConnection = prepareConnection(id);
              urlConnection.setRequestMethod("PUT");
              addBodyRequest(urlConnection, data);
  
              return getHeaderAndBody(urlConnection);
          } catch (IOException e) {
              Log.e(TAG, "Error on PUT of " + url, e);
              throw new RuntimeException(e);
          } finally {
              if (urlConnection != null) {
                  urlConnection.disconnect();
              }
          }
      }
docs: {@inheritDoc}