I'm using the URLConfigReader to read from an HTTP data source.
I need to set the 'Content-Type' or 'Accept' header to return the data in the correct format. However, I can't see how to access the HTTP connection object from the URL to allow me to set the header. Is this possible?
I'm using the URLConfigReader to read from an HTTP data source.
I need to set the 'Content-Type' or 'Accept' header to return the data in the correct format. However, I can't see how to access the HTTP connection object from the URL to allow me to set the header. Is this possible?