You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
This is not currently possible. It would require updating the class to hold a set of header-value pairs associated with each URL and having it applied to the connection somewhere close to line 74.
It doesn't look particularly difficult, but it's not something we'll be prioritizing for now.
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?
The text was updated successfully, but these errors were encountered: