code: def save_activity_profile(self, profile):
          
          request = HTTPRequest(
              method="PUT",
              resource="activities/profile",
              content=profile.content
          )
          if profile.content_type is not None:
              request.headers["Content-Type"] = profile.content_type
          else:
              request.headers["Content-Type"] = "application/octet-stream"
  
          if profile.etag is not None:
              request.headers["If-Match"] = profile.etag
  
          request.query_params = {
              "profileId": profile.id,
              "activityId": profile.activity.id
          }
          lrs_response = self._send_request(request)
          lrs_response.content = profile
  
          return lrs_response
docs: Save an activity profile doc to the LRS
  
          :param profile: Activity profile doc to be saved
          :type profile: :class:`tincan.documents.activity_profile_document.ActivityProfileDocument`
          :return: LRS Response object with the saved activity profile doc as content
          :rtype: :class:`tincan.lrs_response.LRSResponse`