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
fixed query on GCM not returning results, fixed long-running proxy problem - Fiddler doesn't provide a https proxy so force proxying of https to go to http port 8888
Copy file name to clipboardExpand all lines: elmclient/examples/dn_simple_modulestructure.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -188,7 +188,7 @@ def iterator():
188
188
themodule_u=list(modules.keys())[0]
189
189
print( f"{themodule_u=}" )
190
190
191
-
mod_x=c.execute_get_rdf_xml(themodule_u, cacheable=False, headers={'vvc.configuration': config_u,'DoorsRP-Request-Type':'public 2.0', 'OSLC-Core-Version': None, 'Configuration-Context': None}, intent="Retrieve the module RDF-XML to get the structure URI" ) # have to remove the OSLC-Core-Version and Configuration-Context headers, and provide vvc.configuration header
191
+
mod_x=c.execute_get_rdf_xml(themodule_u, cacheable=False, headers={'vvc.configuration': config_u,'DoorsRP-Request-Type':'public 2.0', 'Referer': None, 'OSLC-Core-Version': None, 'Configuration-Context': None}, intent="Retrieve the module RDF-XML to get the structure URI" ) # have to remove the OSLC-Core-Version and Configuration-Context headers, and provide vvc.configuration header
192
192
193
193
print( f"{mod_x=}" )
194
194
@@ -231,7 +231,7 @@ def iterator():
231
231
iflen(sys.argv)>1:
232
232
# toinsert is already prepared
233
233
# get the etag
234
-
response, etag=c.execute_get_rdf_XML(structure_u, cacheable=False, headers={'vvc.configuration': config_u,'DoorsRP-Request-Type':'public 2.0', 'OSLC-Core-Version': None, 'Configuration-Context': None}, return_etag=True, intent="Retrieve module structure (XML)" ) # have to remove the OSLC-Core-Version and Configuration-Context headers, and provide vvc.configuration header
234
+
response, etag=c.execute_get_rdf_xml(structure_u, cacheable=False, headers={'vvc.configuration': config_u,'DoorsRP-Request-Type':'public 2.0', 'OSLC-Core-Version': None, 'Configuration-Context': None}, return_etag=True, intent="Retrieve module structure (XML)" ) # have to remove the OSLC-Core-Version and Configuration-Context headers, and provide vvc.configuration header
235
235
print( f"{etag=}" )
236
236
# insert a reference to it in a hardcoded location
0 commit comments