|
response = cast( |
|
Union[BundleMetadata, HTTPResponse], |
|
self.post(f"v1/content/{content_guid}/bundles", body=body, headers={"Content-Type": content_type}), |
|
) |
|
else: |
|
response = cast( |
|
Union[BundleMetadata, HTTPResponse], self.post(f"v1/content/{content_guid}/bundles", body=tarball) |
|
) |
|
response = self._server.handle_bad_response(response) |
The old branch does have the handler but the new one doesn't, which leads to cryptic failures downstream.
rsconnect-python/rsconnect/api.py
Lines 731 to 739 in 0dbd416
The old branch does have the handler but the new one doesn't, which leads to cryptic failures downstream.