# Path: packtools/sps/exceptions.py
# class NotAllowedtoChangeAttributeValueError(Exception):
# class InvalidAttributeValueError(Exception):
# class InvalidValueForOrderError(Exception):
# class SPSLoadToXMLError(Exception):
# class SHA1Error(Exception):
# class SPSConnectionError(Exception):
# class SPSHTTPError(Exception):
# class SPSHTTPForbiddenError(Exception):
# class SPSHTTPResourceNotFoundError(Exception):
# class SPSHTTPInternalServerError(Exception):
# class SPSHTTPBadGatewayError(Exception):
# class SPSHTTPServiceUnavailableError(Exception):
# class SPSDownloadXMLError(Exception):
# class SPSXMLLinkError(Exception):
# class SPSXMLContentError(Exception):
# class SPSXMLFileError(Exception):
# class SPSAssetOrRenditionFileError(Exception):
# class SPSMakePackageFromPathsMissingKeyError(Exception):


from packtools.sps import exceptions
import requests



def requests_get_content(uri, timeout=10):
    try:
        response = requests.get(uri, timeout=timeout)
        response.raise_for_status()

# Path: packtools/sps/exceptions.py
# class NotAllowedtoChangeAttributeValueError(Exception):
# class InvalidAttributeValueError(Exception):
# class InvalidValueForOrderError(Exception):
# class SPSLoadToXMLError(Exception):
# class SHA1Error(Exception):
# class SPSConnectionError(Exception):
# class SPSHTTPError(Exception):
# class SPSHTTPForbiddenError(Exception):
# class SPSHTTPResourceNotFoundError(Exception):
# class SPSHTTPInternalServerError(Exception):
# class SPSHTTPBadGatewayError(Exception):
# class SPSHTTPServiceUnavailableError(Exception):
# class SPSDownloadXMLError(Exception):
# class SPSXMLLinkError(Exception):
# class SPSXMLContentError(Exception):
# class SPSXMLFileError(Exception):
# class SPSAssetOrRenditionFileError(Exception):
# class SPSMakePackageFromPathsMissingKeyError(Exception):


# Path: packtools/sps/libs/reqs.py
from packtools.sps import exceptions
import requests




def requests_get_content(uri, timeout=10):
    try:
        response = requests.get(uri, timeout=timeout)
        response.raise_for_status()

    except requests.exceptions.HTTPError: