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
parser.add_argument('--nresults', default=-1, type=int, help="Number of results expected - used for regression testing - use `--nresults -1` to disable checking")
parser.add_argument('--pagesize', default=200, type=int, help="Page size for OSLC query (default 200) use 0 to suppress paging (server may still page)")
108
+
parser.add_argument('--pagesize', default=0, type=int, help="Page size for OSLC query (default 0) use 0 to suppress paging (server may still page)")
109
109
parser.add_argument('--typesystemreport', default=None, help="Load the specified project/configuration and then produce a simple HTML type system report of resource shapes/properties/enumerations to this file" )
110
110
parser.add_argument('--cachedays', default=7,type=int, help="The number of days for caching received data, default 7. To disable caching use -WW. To keep using a non-default cache period you must specify this value every time" )
111
111
parser.add_argument('--saverawresults', default=None, help="Save the raw results as XML to this path/file prefix - pages are numbered starting from 0000" )
LQE 7.0.2SR1 and 7.0.3 has the unpleasant habit of including double-quotes in the auth cookie path so it looks like "/lqe" (which includes the quotation marks in the path) rather than /lqe, and then the path is never matched so authentication is lost
470
-
This code cleans up the path on all cookies on the session
471
-
# return True if any cookie changed
472
-
'''
473
-
result=False
474
-
forcookieinself._session.cookies:
475
-
ifcookie.path.startswith('%22'):
476
-
oldvalue=cookie.path
477
-
cookie.path=cookie.path.replace("%22","")
478
-
logger.debug( f"REVISED cookie {cookie.name} path {oldvalue} to {cookie.path=}" )
479
-
result=True
480
-
returnresult
481
-
482
-
483
466
# execute a request once, except:
484
467
# 1. if the response indicates login is required then login and try the request again
485
468
# 2. if request is rejected for various reasons retry with the CSRF header applied
0 commit comments