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
the above code implements a simple xinclude. If the result parses as XML, root is inserted - because xml could include processing instructions which would break the resulting code. If the result does not parse as XML (e.g. text) it is just inserted and we hope for the best ;-)
consider changing to this implementation, after all https becomes more common ;-)
The text was updated successfully, but these errors were encountered:
I like this, but it needs tests and should use OpenSSL::SSL::VERIFY_NONE, and probably should use net/http instead of open-uri. Can you send a PR with tests for this? Thanks!
xinclude in libxml2 is not very capable. It uses nanohttp, which has no https support.
the above code implements a simple xinclude. If the result parses as XML, root is inserted - because xml could include processing instructions which would break the resulting code. If the result does not parse as XML (e.g. text) it is just inserted and we hope for the best ;-)
consider changing to this implementation, after all https becomes more common ;-)
The text was updated successfully, but these errors were encountered: